summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-09-13 12:15:56 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-09-13 12:15:56 +0000
commit1657fe1f64e3220081bcf860dea1e1d2439d130a (patch)
tree684652d19f20933ff443a165ef681455ccec4e8f
parent1359bf8d48c1b4e128392e524c781122598734cb (diff)
downloadcoreutils-1657fe1f64e3220081bcf860dea1e1d2439d130a.tar.xz
Rename backup enum to avoid shadowing problems.
-rw-r--r--lib/ChangeLog14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 6d59771ab..7f5705178 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,7 +1,19 @@
+2004-09-13 Paul Eggert <eggert@cs.ucla.edu>
+
+ * backupfile.h (enum backuptype): Rename none -> no_backups,
+ simple -> simple_backups, numbered_existing ->
+ numbered_existing_backups, numbered -> numbered_backups
+ to avoid shadowing problems. All uses changed.
+ * argmatch.c (enum backuptype): Likewise.
+ * backupfile.c (check_extension, numbered_backup):
+ Rename locals to avoid shadowing 'basename'.
+ * backupfile.h (VALID_BACKUP_TYPE): Don't evaluate arg more than
+ once.
+
2004-09-02 Paul Eggert <eggert@cs.ucla.edu>
Port to diet libc. Problem reported by Felix von Leitner in
- <http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00171.html>.
+ <http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00171.html>
* fts.c (fts_stat, fts_open, fts_read): Use "unsigned short int"
rather than the unportable "u_short", and similarly for u_int.
* fts_.h (FTSENT): Likewise.