summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-07-26 09:52:43 +0000
committerJim Meyering <jim@meyering.net>2006-07-26 09:52:43 +0000
commit03d872537ab440a33c2dff59228f0beea50f66ba (patch)
tree2ab478578d201a326c5e41f1093ee6b635fd6209
parentb7f9a7ed05bbf9c7cd4eece5e92fb79dcc4dd3b0 (diff)
downloadcoreutils-03d872537ab440a33c2dff59228f0beea50f66ba.tar.xz
* src/ls.c: Correct indentation/formatting in a few places.
-rw-r--r--ChangeLog4
-rw-r--r--src/ls.c16
2 files changed, 12 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index df81b96f9..a96e9d208 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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".
diff --git a/src/ls.c b/src/ls.c
index ab544d14d..ebf6502a7 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -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++;