X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fbackupfile.c;h=b0c39760747375692a3cad2087a40df01410c30f;hb=7535c9422de3d94d22a3f0dabbeff9623131417d;hp=0339caee24fae603c1e4a9eb8b09bea236efb70f;hpb=47bb1b5a733293a121060ac24d263095bdb4e34d;p=gnulib.git diff --git a/lib/backupfile.c b/lib/backupfile.c index 0339caee2..b0c397607 100644 --- a/lib/backupfile.c +++ b/lib/backupfile.c @@ -1,5 +1,5 @@ /* backupfile.c -- make Emacs style backup file names - Copyright 1990,91,92,93,94,95,96,97,98,99,2000, 2001 Free Software + Copyright (C) 1990,91,92,93,94,95,96,97,98,99,2000, 2001, 2002 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -95,10 +95,9 @@ char *malloc (); - Its arg may be any int or unsigned int; it need not be an unsigned char. - It's guaranteed to evaluate its argument exactly once. - It's typically faster. - Posix 1003.2-1992 section 2.5.2.1 page 50 lines 1556-1558 says that - only '0' through '9' are digits. Prefer ISDIGIT to isdigit unless - it's important to use the locale's definition of `digit' even when the - host does not conform to Posix. */ + POSIX says that only '0' through '9' are digits. Prefer ISDIGIT to + ISDIGIT_LOCALE unless it's important to use the locale's definition + of `digit' even when the host does not conform to POSIX. */ #define ISDIGIT(c) ((unsigned) (c) - '0' <= 9) #if D_INO_IN_DIRENT @@ -107,9 +106,9 @@ char *malloc (); # define REAL_DIR_ENTRY(dp) 1 #endif -#include -#include -#include +#include "argmatch.h" +#include "backupfile.h" +#include "dirname.h" /* The extension added to file names to produce a simple (as opposed to numbered) backup file name. */