Diff for /libaitsync/src/dir.c between versions 1.2 and 1.3

version 1.2, 2011/05/09 14:36:33 version 1.3, 2012/07/22 22:09:47
Line 12  terms: Line 12  terms:
 All of the documentation and software included in the ELWIX and AITNET  All of the documentation and software included in the ELWIX and AITNET
 Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>
   
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
         by Michael Pounov <misho@elwix.org>.  All rights reserved.          by Michael Pounov <misho@elwix.org>.  All rights reserved.
   
 Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
Line 186  create_diridx(const char *csDir, int lm, int *tags, st Line 186  create_diridx(const char *csDir, int lm, int *tags, st
                                                 strlcpy(szType, "unknown", STRSIZ);                                                  strlcpy(szType, "unknown", STRSIZ);
                                                 break;                                                  break;
                                 }                                  }
                                snprintf(l[n].extra, STRSIZ, "%s links=%d inode=%lu %d:%d perm=0%o size=%ld %s",                                 snprintf(l[n].extra, STRSIZ, "%s links=%d inode=%ld %d:%d perm=0%o size=%ld %s", 
                                                szType, sb.st_nlink, sb.st_ino, sb.st_uid, sb.st_gid,                                                 szType, sb.st_nlink, (long) sb.st_ino, sb.st_uid, sb.st_gid, 
                                                sb.st_mode & 0x1fff, sb.st_size, szStr);                                                sb.st_mode & 0x1fff, (long) sb.st_size, szStr);
                         }                          }
                 }                  }
   
Line 405  sync_dircmpList(const char *csDir1, const char *csDir2 Line 405  sync_dircmpList(const char *csDir1, const char *csDir2
                                                                 break;                                                                  break;
                                                 }                                                  }
                                                 snprintf(l[n].extra, STRSIZ,                                                   snprintf(l[n].extra, STRSIZ, 
                                                                "%s links=%d inode=%lu %d:%d perm=0%o size=%ld %s",                                                                 "%s links=%d inode=%ld %d:%d perm=0%o size=%ld %s", 
                                                                szType, sb.st_nlink, sb.st_ino, sb.st_uid, sb.st_gid,                                                                 szType, sb.st_nlink, (long) sb.st_ino, sb.st_uid, 
                                                                sb.st_mode & 0x1fff, sb.st_size, szStr);                                                                sb.st_gid, sb.st_mode & 0x1fff, (long) sb.st_size, 
                                                                 szStr);
                                         }                                          }
                                 }                                  }
   

Removed from v.1.2  
changed lines
  Added in v.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>