Commit 7db9125f by Jeffrey A Law Committed by Jeff Law

* protoize.c (munge_compile_params): Fix typo and formatting buglets.

From-SVN: r35867
parent b413d64d
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> 2000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
* diagnostic.h (report_problematic_module): Declare. * diagnostic.h (report_problematic_module): Declare.
......
...@@ -2000,8 +2000,9 @@ munge_compile_params (params_list) ...@@ -2000,8 +2000,9 @@ munge_compile_params (params_list)
temp_params[param_count++] = "-S"; temp_params[param_count++] = "-S";
temp_params[param_count++] = "-o"; temp_params[param_count++] = "-o";
if ((stat (HOST_BIT_BUCKET, &st) == 0) && (!S_ISDIR (st.st_mode)) if ((stat (HOST_BIT_BUCKET, &st) == 0)
(access (HOST_BIT_BUCKET, W_OK) == 0)) && (!S_ISDIR (st.st_mode))
&& (access (HOST_BIT_BUCKET, W_OK) == 0))
temp_params[param_count++] = HOST_BIT_BUCKET; temp_params[param_count++] = HOST_BIT_BUCKET;
else else
/* FIXME: This is hardly likely to be right, if HOST_BIT_BUCKET is not /* FIXME: This is hardly likely to be right, if HOST_BIT_BUCKET is not
......
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