Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.bin/make


On Dec 1, 2008, at 1:36 AM, Hisashi T Fujinaka wrote:

On Mon, 1 Dec 2008, Michael wrote:


On Nov 30, 2008, at 5:37 PM, David Laight wrote:

Module Name:    src
Committed By:   dsl
Date:           Sun Nov 30 22:37:55 UTC 2008
Modified Files:
        src/usr.bin/make: for.c
Log Message:
Simplify somewhat the code that parses .for lines.
Use malloc to allocate space for teh strings (instead of a buf structure) to make it mossible to not leak the associated memory (leak not fixed!).
No functional change intended.
To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 src/usr.bin/make/for.c

This borks nbmake on both sparc64 (SIGBUS) and macppc (SIGSEGV).
Please revert it.

Is this what breaks on i386?

cc -O -DDEFSHELL_CUSTOM="/bin/sh" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 - DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1 -c /usr/src/ tools/make/../../usr.bin/make/lst.lib/lstSucc.c cc -O -o nbmake *.o [1] Segmentation fault (core dumped) /tmp/ nbbuild6828... nbmake: "/usr/src/share/mk/" line 95: warning: "cd /usr/ src && /tmp/nbbuild6828/nbmake -V .OBJDIR" returned non-zero status
[1]   Segmentation fault (core dumped) "${make}" -m ${T...

ERROR: raw_getmakevar TOOLCHAIN_MISSING: /tmp/nbbuild6828/nbmake failed
Exit 1

Yes, same error on macppc.

have fun

Home | Main Index | Thread Index | Old Index