cvs commit: ALFS/nALFS/src/lib file_handling.c

neven at linuxfromscratch.org neven at linuxfromscratch.org
Wed Nov 5 22:04:11 PST 2003


neven       03/11/05 23:04:11

  Modified:    nALFS/src/lib file_handling.c
  Log:
  Small typo fixed.
  
  Revision  Changes    Path
  1.4       +1 -1      ALFS/nALFS/src/lib/file_handling.c
  
  Index: file_handling.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/lib/file_handling.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- file_handling.c	3 Nov 2003 21:45:06 -0000	1.3
  +++ file_handling.c	6 Nov 2003 06:04:11 -0000	1.4
  @@ -68,7 +68,7 @@
   		return ARCHIVE_ZIP;
   	else if (! (strncmp(filename + strlen(filename) - 4, ".pax", 4)))
   		return ARCHIVE_PAX;
  -	else if (! (strncmp(filename + strlen(filename) - 5, ".cpio", 4)))
  +	else if (! (strncmp(filename + strlen(filename) - 5, ".cpio", 5)))
   		return ARCHIVE_CPIO;
   	else
   		return ARCHIVE_UNKNOWN;
  
  
  



More information about the alfs-log mailing list