summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-03-04 20:50:19 +0100
committerJim Meyering <meyering@redhat.com>2008-03-05 11:38:30 +0100
commitd44893c5dba4150b4ded9cf6aad316c1ef620c9f (patch)
tree7da47bcfe72f184bdac7a190fa820b5b577fda3e /src
parentb7a836c0a3524cda8ef79c30c3fe7ea759ae4656 (diff)
downloadcoreutils-d44893c5dba4150b4ded9cf6aad316c1ef620c9f.tar.xz
* src/c99-to-c89.diff: Accommodate a C99-ism in id.c.
Diffstat (limited to 'src')
-rw-r--r--src/c99-to-c89.diff20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/c99-to-c89.diff b/src/c99-to-c89.diff
index 79ac4e64f..286f27627 100644
--- a/src/c99-to-c89.diff
+++ b/src/c99-to-c89.diff
@@ -152,5 +152,21 @@ diff -upr src/shred.c src/shred.c
if (errnum == EIO && 0 <= size && (soff | SECTOR_MASK) < lim)
{
size_t soff1 = (soff | SECTOR_MASK) + 1;
---- src/seq.c 2008-02-18 22:53:29.000000000 +0100
-+++ src-c89/seq.c 2008-02-18 23:16:35.000000000 +0100
+--- src/id.c 2008-03-04 18:50:55.000000000 +0100
++++ src/id.c 2008-03-04 19:32:24.000000000 +0100
+@@ -196,6 +196,7 @@ of a different user"));
+ error (EXIT_FAILURE, 0,
+ _("cannot print only names or real IDs in default format"));
+
++ {
+ char const *user_name;
+ if (argc - optind == 1)
+ {
+@@ -239,6 +240,7 @@ of a different user"));
+ {
+ print_full_info (user_name);
+ }
++ }
+ putchar ('\n');
+
+ exit (ok ? EXIT_SUCCESS : EXIT_FAILURE);