Commit 38b8de2f by Mark Elbrecht Committed by Zack Weinberg

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
parent c6cfab37
2000-05-11 Mark Elbrecht <snowball3@bigfoot.com>
* cppmain.c (main): Use IS_DIR_SEPARATOR.
2000-05-11 Jakub Jelinek <jakub@redhat.com>
* except.c (find_exception_handler_labels_1): New function.
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment