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

Diff for /src/usr.bin/patch/util.c between version 1.38 and 1.39

version 1.38, 2014/12/13 10:31:07 version 1.39, 2015/01/16 06:40:10
Line 26 
Line 26 
  * behaviour   * behaviour
  */   */
   
 #include <sys/param.h>  
 #include <sys/stat.h>  #include <sys/stat.h>
   
 #include <ctype.h>  #include <ctype.h>
Line 95 
Line 94 
 backup_file(const char *orig)  backup_file(const char *orig)
 {  {
         struct stat     filestat;          struct stat     filestat;
         char            bakname[MAXPATHLEN], *s, *simplename;          char            bakname[PATH_MAX], *s, *simplename;
         dev_t           orig_device;          dev_t           orig_device;
         ino_t           orig_inode;          ino_t           orig_inode;
   
Line 396 
Line 395 
 char *  char *
 checked_in(char *file)  checked_in(char *file)
 {  {
         char            *filebase, *filedir, tmpbuf[MAXPATHLEN];          char            *filebase, *filedir, tmpbuf[PATH_MAX];
         struct stat     filestat;          struct stat     filestat;
   
         filebase = basename(file);          filebase = basename(file);

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39