diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/protoize.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 817b50f..6a277a3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Tue Aug 22 01:44:43 2000 Jeffrey A Law (law@cygnus.com) + + * protoize.c (munge_compile_params): Fix typo and formatting buglets. + 2000-08-22 Gabriel Dos Reis <gdr@codesourcery.com> * diagnostic.h (report_problematic_module): Declare. diff --git a/gcc/protoize.c b/gcc/protoize.c index 1a51a7d..580fa14 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -2000,8 +2000,9 @@ munge_compile_params (params_list) temp_params[param_count++] = "-S"; temp_params[param_count++] = "-o"; - if ((stat (HOST_BIT_BUCKET, &st) == 0) && (!S_ISDIR (st.st_mode)) - (access (HOST_BIT_BUCKET, W_OK) == 0)) + if ((stat (HOST_BIT_BUCKET, &st) == 0) + && (!S_ISDIR (st.st_mode)) + && (access (HOST_BIT_BUCKET, W_OK) == 0)) temp_params[param_count++] = HOST_BIT_BUCKET; else /* FIXME: This is hardly likely to be right, if HOST_BIT_BUCKET is not |