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

Diff for /src/usr.bin/find/ls.c between version 1.7 and 1.8

version 1.7, 2001/02/05 07:55:36 version 1.8, 2001/07/12 05:17:03
Line 65 
Line 65 
 {  {
         char modep[15], *user_from_uid(), *group_from_gid();          char modep[15], *user_from_uid(), *group_from_gid();
   
         (void)printf("%6u %4qd ", sb->st_ino, sb->st_blocks);          (void)printf("%6u %4lld ", sb->st_ino, (long long)sb->st_blocks);
         (void)strmode(sb->st_mode, modep);          (void)strmode(sb->st_mode, modep);
         (void)printf("%s %3u %-*.*s %-*.*s ", modep, sb->st_nlink,          (void)printf("%s %3u %-*.*s %-*.*s ", modep, sb->st_nlink,
             NAME_WIDTH, UT_NAMESIZE, user_from_uid(sb->st_uid, 0),              NAME_WIDTH, UT_NAMESIZE, user_from_uid(sb->st_uid, 0),
Line 75 
Line 75 
                 (void)printf("%3d, %3d ", major(sb->st_rdev),                  (void)printf("%3d, %3d ", major(sb->st_rdev),
                     minor(sb->st_rdev));                      minor(sb->st_rdev));
         else          else
                 (void)printf("%8qd ", sb->st_size);                  (void)printf("%8lld ", (long long)sb->st_size);
         printtime(sb->st_mtime);          printtime(sb->st_mtime);
         (void)printf("%s", name);          (void)printf("%s", name);
         if (S_ISLNK(sb->st_mode))          if (S_ISLNK(sb->st_mode))

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8