summaryrefslogtreecommitdiff
path: root/lib/backupfile.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-06-30 22:38:03 +0000
committerJim Meyering <jim@meyering.net>2004-06-30 22:38:03 +0000
commit49d4a73415159c186681df46e684d3190371ea8f (patch)
tree89c845f613c4a4eaaee073f041e906a5e59cd2d9 /lib/backupfile.c
parent937b5e08266f79b78f3e715caf841e252ea78d30 (diff)
downloadcoreutils-49d4a73415159c186681df46e684d3190371ea8f.tar.xz
(FILE_SYSTEM_PREFIX_LEN): Renamed from
FILESYSTEM_PREFIX_LEN. All uses changed.
Diffstat (limited to 'lib/backupfile.c')
-rw-r--r--lib/backupfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/backupfile.c b/lib/backupfile.c
index 7ea76b49e..34d83357f 100644
--- a/lib/backupfile.c
+++ b/lib/backupfile.c
@@ -1,7 +1,7 @@
/* backupfile.c -- make Emacs style backup file names
Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -124,7 +124,7 @@ find_backup_file_name (const char *file, enum backup_type backup_type)
size_t dirlen = dir_len (file);
memcpy (s, file, dirlen);
- if (dirlen == FILESYSTEM_PREFIX_LEN (file))
+ if (dirlen == FILE_SYSTEM_PREFIX_LEN (file))
s[dirlen++] = '.';
s[dirlen] = '\0';
highest_backup = max_backup_version (base_name (file), s);