diff options
author | Jim Meyering <jim@meyering.net> | 2006-07-26 09:52:43 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-07-26 09:52:43 +0000 |
commit | 03d872537ab440a33c2dff59228f0beea50f66ba (patch) | |
tree | 2ab478578d201a326c5e41f1093ee6b635fd6209 | |
parent | b7f9a7ed05bbf9c7cd4eece5e92fb79dcc4dd3b0 (diff) | |
download | coreutils-03d872537ab440a33c2dff59228f0beea50f66ba.tar.xz |
* src/ls.c: Correct indentation/formatting in a few places.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/ls.c | 16 |
2 files changed, 12 insertions, 8 deletions
@@ -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++; |