cvs commit: ALFS/nALFS/src/handlers patch.c

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Fri Jan 16 20:20:59 PST 2004


kpfleming    04/01/16 21:20:59

  Modified:    nALFS/src/handlers patch.c
  Log:
  properly construct decompressor command
  
  Revision  Changes    Path
  1.16      +2 -3      ALFS/nALFS/src/handlers/patch.c
  
  Index: patch.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/patch.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- patch.c	23 Nov 2003 20:31:12 -0000	1.15
  +++ patch.c	17 Jan 2004 04:20:59 -0000	1.16
  @@ -217,9 +217,8 @@
   	decompressor = alloc_decompress_command(get_compression_type(file));
   
   	if (decompressor == NULL)
  -		decompressor = xstrdup("cat %s | %s");
  -	else
  -		append_str(&decompressor, " %s");
  +		decompressor = xstrdup("cat %s");
  +	append_str(&decompressor, " | %s");
   
   	command = xstrdup("");
   
  
  
  



More information about the alfs-log mailing list