* protoize.c (munge_compile_params): Fix typo and formatting buglets.
authorJeffrey A Law <law@cygnus.com>
Tue, 22 Aug 2000 07:44:51 +0000 (07:44 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 22 Aug 2000 07:44:51 +0000 (01:44 -0600)
From-SVN: r35867

gcc/ChangeLog
gcc/protoize.c

index 817b50f13371fb7bd570ac9472f6f7f8d32b5965..6a277a3a8ccaac012aeeb7201ad60d85ea80086f 100644 (file)
@@ -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.
index 1a51a7d20fa049841965f2c903e81cb63dfea560..580fa146305508882c9939b9bcefe91a7bd94068 100644 (file)
@@ -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