diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2001-05-28 05:21:37 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-05-28 05:21:37 +0000 |
| commit | c9edceadd8a0c5acc1f58da35396d952bdaaf786 (patch) | |
| tree | ae2a6f4f4987889b7bd2af7bdf0b86fa580df011 /contrib/binutils/libiberty/basename.c | |
| parent | bf9a5db426c4b39201fc3149bbed3c8f14edbe86 (diff) | |
Notes
Diffstat (limited to 'contrib/binutils/libiberty/basename.c')
| -rw-r--r-- | contrib/binutils/libiberty/basename.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/binutils/libiberty/basename.c b/contrib/binutils/libiberty/basename.c index 7698f06f8ae4..ca089ebbc5ae 100644 --- a/contrib/binutils/libiberty/basename.c +++ b/contrib/binutils/libiberty/basename.c @@ -20,7 +20,7 @@ BUGS #include "ansidecl.h" #include "libiberty.h" -#include <ctype.h> +#include "safe-ctype.h" #ifndef DIR_SEPARATOR #define DIR_SEPARATOR '/' @@ -50,7 +50,7 @@ basename (name) #if defined (HAVE_DOS_BASED_FILE_SYSTEM) /* Skip over the disk name in MSDOS pathnames. */ - if (isalpha (name[0]) && name[1] == ':') + if (ISALPHA (name[0]) && name[1] == ':') name += 2; #endif |
