aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-01-13 19:27:41 +0100
committerJim Meyering <jim@meyering.net>2007-03-18 18:15:06 +0100
commit3765e5a26e339d4fffd8870c33ffbf113e8e8a33 (patch)
treeeb64cdfcebc4ea2866fe092f29a1cfb5fe094aaa
parent* src/chcon.c (usage): Split a string literal that was longer than 509. (diff)
downloadcoreutils-3765e5a26e339d4fffd8870c33ffbf113e8e8a33.tar.gz
coreutils-3765e5a26e339d4fffd8870c33ffbf113e8e8a33.zip
* src/c99-to-c89.diff: Remove the ls.c patch, now that I've
temporarily removed the offending c99'ism.
-rw-r--r--ChangeLog-selinux3
-rw-r--r--src/c99-to-c89.diff20
2 files changed, 3 insertions, 20 deletions
diff --git a/ChangeLog-selinux b/ChangeLog-selinux
index fbae67e55..d89fb5e26 100644
--- a/ChangeLog-selinux
+++ b/ChangeLog-selinux
@@ -1,5 +1,8 @@
2007-01-13 Jim Meyering <jim@meyering.net>
+ * src/c99-to-c89.diff: Remove the ls.c patch, now that I've
+ temporarily removed the offending c99'ism.
+
* src/chcon.c (usage): Split a string literal that was longer than 509.
* src/ls.c (gobble_file): Don't call getfilecon unless print_scontext.
diff --git a/src/c99-to-c89.diff b/src/c99-to-c89.diff
index 83c00d05c..5545f6a11 100644
--- a/src/c99-to-c89.diff
+++ b/src/c99-to-c89.diff
@@ -116,23 +116,3 @@ diff -u -p -r1.130 shred.c
if (errnum == EIO && 0 <= size && (soff | SECTOR_MASK) < lim)
{
size_t soff1 = (soff | SECTOR_MASK) + 1;
-diff --git a/src/ls.c b/src/ls.c
-index b1c0f9a..7d51a61 100644
---- a/src/ls.c
-+++ b/src/ls.c
-@@ -2565,6 +2565,7 @@ gobble_file (char const *name, enum filetype type, ino_t inode,
- )))))
-
- {
-+ bool file_has_security_context = false;
- /* Absolute name of this file. */
- char *absolute_name;
- bool do_deref;
-@@ -2614,7 +2615,6 @@ gobble_file (char const *name, enum filetype type, ino_t inode,
- break;
- }
-
-- bool file_has_security_context = false;
- if (err == 0 && (format == long_format || print_scontext))
- {
- int attr_len = (do_deref