mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
* src/ls.c: Correct indentation/formatting in a few places.
This commit is contained in:
1 parent
b7f9a7ed05
commit
03d872537a
2 files changed
+12
-8
No files matched your search
@@ -1,3 +1,7 @@
|
||||
2006-07-26 Jim Meyering <jim@meyering.net>
|
||||
|
||||
* src/ls.c: Correct indentation/formatting in a few places.
|
||||
|
||||
2006-07-25 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* tests/cp/fail-perm: Use "chmod 0500" rather than "chmod 500".
|
||||
|
||||
@@ -934,7 +934,7 @@ dev_ino_pop (void)
|
||||
{
|
||||
assert (sizeof (struct dev_ino) <= obstack_object_size (&dev_ino_obstack));
|
||||
obstack_blank (&dev_ino_obstack, -(int) (sizeof (struct dev_ino)));
|
||||
return *(struct dev_ino*) obstack_next_free (&dev_ino_obstack);
|
||||
return *(struct dev_ino *) obstack_next_free (&dev_ino_obstack);
|
||||
}
|
||||
|
||||
#define ASSERT_MATCHING_DEV_INO(Name, Di) \
|
||||
@@ -2214,7 +2214,7 @@ parse_ls_color (void)
|
||||
if (state == -1)
|
||||
error (0, 0, _("unrecognized prefix: %s"), quotearg (label));
|
||||
}
|
||||
break;
|
||||
break;
|
||||
|
||||
case 4: /* Equal sign after *.ext */
|
||||
if (*(p++) == '=')
|
||||
@@ -2759,12 +2759,12 @@ gobble_file (char const *name, enum filetype type, ino_t inode,
|
||||
}
|
||||
|
||||
if (print_inode)
|
||||
{
|
||||
char buf[INT_BUFSIZE_BOUND (uintmax_t)];
|
||||
int len = strlen (umaxtostr (f->stat.st_ino, buf));
|
||||
if (inode_number_width < len)
|
||||
inode_number_width = len;
|
||||
}
|
||||
{
|
||||
char buf[INT_BUFSIZE_BOUND (uintmax_t)];
|
||||
int len = strlen (umaxtostr (f->stat.st_ino, buf));
|
||||
if (inode_number_width < len)
|
||||
inode_number_width = len;
|
||||
}
|
||||
|
||||
f->name = xstrdup (name);
|
||||
files_index++;
|
||||
|
||||
Reference in new issue
Block a user