Commit 7257bbc6 by Richard Kenner Committed by Richard Kenner

* gcc.c (process_command): Use F_OK, not R_OK.

From-SVN: r37724
parent 35a63b94
Fri Nov 24 18:50:58 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* gcc.c (process_command): Use F_OK, not R_OK.
2000-11-24 Arno J. Klaassen <arno@heho.snv.jussieu.fr>
* flow.c (print_rtl_and_abort): Remove ANSIism.
......
......@@ -3719,7 +3719,7 @@ process_command (argc, argv)
argv[i] = convert_filename (argv[i], 0);
#endif
if (strcmp (argv[i], "-") != 0 && access (argv[i], R_OK) < 0)
if (strcmp (argv[i], "-") != 0 && access (argv[i], F_OK) < 0)
{
perror_with_name (argv[i]);
error_count++;
......
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