diff options
author | Mark Elbrecht <snowball3@bigfoot.com> | 2000-05-11 18:21:31 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-05-11 18:21:31 +0000 |
commit | 38b8de2fe15314c4a3034e638e9874f1d413a923 (patch) | |
tree | 6c3b6b1c19c83290eab57db71576b225ac6cb0ba /gcc/cppmain.c | |
parent | c6cfab3763435aa3c5182769c98c59a2fb199fcf (diff) | |
download | gcc-38b8de2fe15314c4a3034e638e9874f1d413a923.zip gcc-38b8de2fe15314c4a3034e638e9874f1d413a923.tar.gz gcc-38b8de2fe15314c4a3034e638e9874f1d413a923.tar.bz2 |
cppmain.c (main): Use IS_DIR_SEPARATOR.
2000-05-11 Mark Elbrecht <snowball3@bigfoot.com>
* cppmain.c (main): Use IS_DIR_SEPARATOR.
From-SVN: r33854
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r-- | gcc/cppmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c index ef636cb..0eeafe4 100644 --- a/gcc/cppmain.c +++ b/gcc/cppmain.c @@ -43,7 +43,7 @@ main (argc, argv) int argi = 1; /* Next argument to handle. */ p = argv[0] + strlen (argv[0]); - while (p != argv[0] && p[-1] != '/') --p; + while (p != argv[0] && ! IS_DIR_SEPARATOR (p[-1])) --p; progname = p; xmalloc_set_program_name (progname); |