Formerly main.c.~69~

This commit is contained in:
Roland McGrath 1993-01-15 18:18:29 +00:00
parent 37d9554e31
commit 2861ad6208

8
main.c
View File

@ -1505,8 +1505,12 @@ define_makeflags (all, makefile)
flags = flags->next;
} while (flags != 0);
/* Kill the final space and dash. */
p[-2] = '\0';
if (p[-1] == '-')
/* Kill the final space and dash. */
p -= 2;
/* Terminate the string. */
*p = '\0';
}
/* On Sun, the value of MFLAGS starts with a `-' but the