diff options
author | Paul Smith <psmith@gnu.org> | 2004-11-30 20:58:52 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2004-11-30 20:58:52 +0000 |
commit | 6c9e53d64804a856580876f2019ce4ea1e42b4e0 (patch) | |
tree | a26254e95ce4f317d470904dd0d28ec0bc439de1 /main.c | |
parent | 49ca261bd5a40d933719ab6b2b1fd183a81bf35b (diff) | |
download | gunmake-6c9e53d64804a856580876f2019ce4ea1e42b4e0.tar.gz |
Fix problems with README and build.sh
Apply an old patch from Paul Eggert.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1919,8 +1919,8 @@ main (int argc, char **argv, char **envp) #ifndef _AMIGA for (p = environ; *p != 0; ++p) - if ((*p)[MAKELEVEL_LENGTH] == '=' - && strneq (*p, MAKELEVEL_NAME, MAKELEVEL_LENGTH)) + if (strneq (*p, MAKELEVEL_NAME, MAKELEVEL_LENGTH) + && (*p)[MAKELEVEL_LENGTH] == '=') { /* The SGI compiler apparently can't understand the concept of storing the result of a function |