summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-22 07:44:51 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-08-22 07:44:51 +0000
commitf7d18d8f0bb6988b3808d4e5f75e29653bcb5a12 (patch)
tree470930c4964d17d4a5e0b7d842ab648c6c7e19d5
parent5e3153b08ae4676c23fec9014b43fa9a8dba5d04 (diff)
downloadppe42-gcc-f7d18d8f0bb6988b3808d4e5f75e29653bcb5a12.tar.gz
ppe42-gcc-f7d18d8f0bb6988b3808d4e5f75e29653bcb5a12.zip
* protoize.c (munge_compile_params): Fix typo and formatting buglets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35867 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/protoize.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 817b50f1337..6a277a3a8cc 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 1a51a7d20fa..580fa146305 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
OpenPOWER on IntegriCloud