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 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 -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

Hisashi T Fujinaka -
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte

Home | Main Index | Thread Index | Old Index