summaryrefslogtreecommitdiff
path: root/src/shred.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@penguin.cs.ucla.edu>2006-11-27 11:27:46 +0100
committerJim Meyering <jim@meyering.net>2006-11-27 11:27:46 +0100
commit9b06af3367500dfe09067b047381e788969059cd (patch)
tree0b4858e328a2c8ceabf60d95fdfa0cc016faf5d4 /src/shred.c
parenta45772d52d86a2b1a39ee057b139af7eb36a2b76 (diff)
downloadcoreutils-9b06af3367500dfe09067b047381e788969059cd.tar.xz
Improve the check for departures from C89, and fix the departures
I found. * Makefile.maint (my-distcheck): Also check for C89 compatibility as best we can with GCC. * src/stat.c (PRINTF_OPTION): Omit comma before } in enum declaration; C89 doesn't allow this. * src/dcgen: Don't generate string literals longer than what C89 requires support for. * src/cut.c (usage): Don't use string literals longer than what C89 requires support for. * src/date.c (usage): Likewise. * src/dd.c (usage): Likewise. * src/du.c (usage): Likewise. * src/ls.c (usage): Likewise. * src/od.c (usage): Likewise. * src/readlink.c (usage): Likewise. * src/seq.c (usage): Likewise. * src/shred.c (usage): Likewise.
Diffstat (limited to 'src/shred.c')
-rw-r--r--src/shred.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shred.c b/src/shred.c
index 4c1819ccb..23a4944b0 100644
--- a/src/shred.c
+++ b/src/shred.c
@@ -220,6 +220,8 @@ version 3 clients\n\
\n\
* compressed file systems\n\
\n\
+"), stdout);
+ fputs (_("\
In the case of ext3 file systems, the above disclaimer applies\n\
(and shred is thus of limited effectiveness) only in data=journal mode,\n\
which journals file data in addition to just metadata. In both the\n\
@@ -228,6 +230,8 @@ Ext3 journaling modes can be changed by adding the data=something option\n\
to the mount options for a particular file system in the /etc/fstab file,\n\
as documented in the mount man page (man mount).\n\
\n\
+"), stdout);
+ fputs (_("\
In addition, file system backups and remote mirrors may contain copies\n\
of the file that cannot be removed, and that will allow a shredded file\n\
to be recovered later.\n\