* README.git: [SV 56895] Provide more info about "maintainer mode".

* src/read.c (get_next_mword) [HAVE_DOS_PATHS]: Don't fall through to
parsing variable references if we find a drivespec in a word!
This commit is contained in:
Paul Smith 2019-09-15 15:26:23 -04:00
parent 57b13c8020
commit 9bc5491712
2 changed files with 23 additions and 12 deletions

View File

@ -119,14 +119,24 @@ That is, you can just run:
$ ./configure $ ./configure
$ make check $ make check
$ make install
to build and install GNU make. to build and test GNU make.
NOTE! This method builds GNU make in "maintainer mode". In this mode it will NOTE! This method builds GNU make in "maintainer mode". Make programs built
be slower, possibly MUCH slower: there are various sanity checks in this mode it will be slower, possibly MUCH slower: there are various
enabled. If you want to build from Git with "maintainer mode" disabled, sanity checks enabled. Further this mode assumes a modern GCC, GNU
add "MAKE_MAINTAINER_MODE=" to your make command line. libc, and well-formed system headers and enables a high level of
warnings AND enables -Werror to turn warnings into failures.
If you want to build from Git with "maintainer mode" disabled, add
"MAKE_MAINTAINER_MODE=" to the make command line. If you want to turn
off the extra warning flags, add "MAKE_CFLAGS=" to the make command
line.
For example:
$ ./configure
$ make check MAKE_MAINTAINER_MODE= MAKE_CFLAGS=
$ make install
Building From Git for Windows Building From Git for Windows
@ -165,9 +175,10 @@ Even better, you should run this:
Which will build both .gz and .bz2 package files, then unpack them into Which will build both .gz and .bz2 package files, then unpack them into
a temporary location, try to build them, and repack them, verifying that a temporary location, try to build them, and repack them, verifying that
everything works, you get the same results, _and_ no extraneous files everything works, you get the same results, _and_ no extraneous files
are left over after the "distclean" rule--whew!! Now, _that_ is why are left over after the "distclean" rule.
converting to Automake is worth the trouble! A big "huzzah!" to Tom
T. and the AutoToolers! This package can be unpacked and built to give a "normal" (non-maintainer
mode) result.
Steps to Release Steps to Release

View File

@ -2829,9 +2829,9 @@ get_next_mword (char *buffer, char **startp, size_t *length)
/* A word CAN include a colon in its drive spec. The drive /* A word CAN include a colon in its drive spec. The drive
spec is allowed either at the beginning of a word, or as part spec is allowed either at the beginning of a word, or as part
of the archive member name, like in "libfoo.a(d:/foo/bar.o)". */ of the archive member name, like in "libfoo.a(d:/foo/bar.o)". */
if (!(p - beg >= 2 if ((p - beg == 2 || (p - beg > 2 && p[-3] == '('))
&& (*p == '/' || *p == '\\') && isalpha ((unsigned char)p[-2]) && isalpha ((unsigned char)p[-2]))
&& (p - beg == 2 || p[-3] == '('))) break;
#endif #endif
goto done_word; goto done_word;