Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   apb
Date:           Mon Oct 20 10:28:38 UTC 2008

Modified Files:
        src/lib/libc/stdio: gettemp.c mkdtemp.c mkstemp.c
        src/tools/compat: compat_defs.h

Log Message:
The tools/compat versions of mkstemp() and mkdtemp() need to call the
internal function that's usually named "__gettemp".  However in a cross
build, "__gettemp" is in a namespace reserved for the host system, so we
can't use that.  Use "__nbcompat_gettemp" instead, following the example
of several other functions or macros in tools/compat.  Previously, this
was handled by using the name "gettemp", but that conflicts with the
local gettemp() function in dist/nawk.
cvs: ----------------------------------------------------------------------


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/lib/libc/stdio/gettemp.c
cvs rdiff -r1.9 -r1.10 src/lib/libc/stdio/mkdtemp.c \
    src/lib/libc/stdio/mkstemp.c
cvs rdiff -r1.66 -r1.67 src/tools/compat/compat_defs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index