diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2000-11-24 23:57:31 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2000-11-24 18:57:31 -0500 |
commit | 7257bbc671ea22b5a80319e50d67f2f72df765fa (patch) | |
tree | bd16c68c9c9e657ec2728e00df2b53f0360818bc /gcc/gcc.c | |
parent | 35a63b9486cbf0087693eef306b10a528177aa7a (diff) | |
download | gcc-7257bbc671ea22b5a80319e50d67f2f72df765fa.zip gcc-7257bbc671ea22b5a80319e50d67f2f72df765fa.tar.gz gcc-7257bbc671ea22b5a80319e50d67f2f72df765fa.tar.bz2 |
* gcc.c (process_command): Use F_OK, not R_OK.
From-SVN: r37724
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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++; |