diff options
author | Jeffrey A Law <law@cygnus.com> | 2000-08-22 07:44:51 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-08-22 01:44:51 -0600 |
commit | 7db9125f9d0e5e0f5237bdfaaa4e6aea8a4b07ea (patch) | |
tree | 470930c4964d17d4a5e0b7d842ab648c6c7e19d5 /gcc/protoize.c | |
parent | b413d64dedee926fe22855d70647197ab0c7522c (diff) | |
download | gcc-7db9125f9d0e5e0f5237bdfaaa4e6aea8a4b07ea.zip gcc-7db9125f9d0e5e0f5237bdfaaa4e6aea8a4b07ea.tar.gz gcc-7db9125f9d0e5e0f5237bdfaaa4e6aea8a4b07ea.tar.bz2 |
* protoize.c (munge_compile_params): Fix typo and formatting buglets.
From-SVN: r35867
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r-- | gcc/protoize.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 |