[BACK]Return to file.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / file

Diff for /src/usr.bin/file/file.c between version 1.24 and 1.25

version 1.24, 2015/01/16 05:46:44 version 1.25, 2015/01/16 08:24:04
Line 31 
Line 31 
  */   */
   
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/param.h>  /* for MAXPATHLEN */  
 #include <sys/stat.h>  #include <sys/stat.h>
   
 #include "file.h"  #include "file.h"
Line 81 
Line 80 
 # define USAGE  "Usage: %s [-bcik" SYMLINKFLAG "nNprsvz0] [-e test] [-f namefile] [-F separator] [-m magicfiles] file...\n" \  # define USAGE  "Usage: %s [-bcik" SYMLINKFLAG "nNprsvz0] [-e test] [-f namefile] [-F separator] [-m magicfiles] file...\n" \
                 "       %s -C -m magicfiles\n"                  "       %s -C -m magicfiles\n"
   
 #ifndef MAXPATHLEN  #ifndef PATH_MAX
 #define MAXPATHLEN      1024  #define PATH_MAX        1024
 #endif  #endif
   
 private int             /* Global command-line options          */  private int             /* Global command-line options          */
Line 355 
Line 354 
 private void  private void
 unwrap(char *fn)  unwrap(char *fn)
 {  {
         char buf[MAXPATHLEN];          char buf[PATH_MAX];
         FILE *f;          FILE *f;
         int wid = 0, cwid;          int wid = 0, cwid;
   

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25