Commit 09de8124 authored by zack's avatar zack
Browse files

2000-05-11 Mark Elbrecht <snowball3@bigfoot.com>

	* cppmain.c (main): Use IS_DIR_SEPARATOR.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33854 138bc75d-0d04-0410-961f-82ee72b054a4
parent 8eb641de
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