scf 2008-08-08 00:49:28 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_7)
lib/libc/stdlib getenv.c
Log:
SVN rev 181407 on 2008-08-08 00:49:28Z by scf
MFC: r181150, r181266
Detect if the application has cleared the environ variable by
scf 2008-08-03 22:47:23 UTC
FreeBSD src repository
Modified files:
lib/libc/stdlib getenv.c
Log:
SVN rev 181266 on 2008-08-03 22:47:23Z by scf
Restructure and use different variables in the tests that involve
environ[0] to be more obvious that environ is not NULL
scf 2008-08-02 02:34:35 UTC
FreeBSD src repository
Modified files:
lib/libc/stdlib getenv.c
tools/regression/environ envctl.c envtest.t
Log:
SVN rev 181150 on 2008-08-02 02:34:35Z by scf
Detect if the application has cleared the environ variable by setting
scf 2008-03-06 15:14:36 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_7)
lib/libc/stdlib getenv.c
Log:
MFC:
Replace the use of warnx() with direct output to stderr using _write().
This reduces the size of a statically-linked binary by
scf 2008-02-28 04:09:08 UTC
FreeBSD src repository
Modified files:
lib/libc/stdlib getenv.c
Log:
Replace the use of warnx() with direct output to stderr using _write().
This reduces the size of a statically-linked binary by approximately 100KB
in a trivial return
On Tue, 25 Sep 2007, Bruce Evans wrote:
On Sat, 22 Sep 2007, Sean C. Farley wrote:
On Sat, 22 Sep 2007, Bruce Evans wrote:
...
Partial analysis:
- the size_t variable must have a small value that is representable
as an int (else casting it to int would be a bug and/or printing a
line
On Sat, 22 Sep 2007, Sean C. Farley wrote:
On Sat, 22 Sep 2007, Bruce Evans wrote:
...
Partial analysis:
- the size_t variable must have a small value that is representable
as an int (else casting it to int would be a bug and/or printing a
line of that length would be a style bug).
Bruce Evans [EMAIL PROTECTED] writes:
On Sat, 22 Sep 2007, [utf-8] Dag-Erling Smørgrav wrote:
s/to remove the warning/to actually work/
Please be precise :-).
s/to remove the warning ... on 64-bit platforms/to avoid undefined behaviour
on platforms where size_t is not u_int, and to avoid
On Sun, 23 Sep 2007, [utf-8] Dag-Erling Sm??rgrav wrote:
Bruce Evans [EMAIL PROTECTED] writes:
On Sat, 22 Sep 2007, [utf-8] Dag-Erling Sm??rgrav wrote:
s/to remove the warning/to actually work/
Please be precise :-).
s/to remove the warning ... on 64-bit platforms/to avoid undefined
Sean Farley [EMAIL PROTECTED] writes:
Log:
The precision for a string argument in a call to warnx() needs to be cast
to an int to remove the warning from using a size_t variable on 64-bit
platforms.
s/to remove the warning/to actually work/
DES
--
Dag-Erling Smørgrav - [EMAIL
On Sat, 22 Sep 2007, [utf-8] Dag-Erling Sm??rgrav wrote:
Sean Farley [EMAIL PROTECTED] writes:
Log:
The precision for a string argument in a call to warnx() needs to be cast
to an int to remove the warning from using a size_t variable on 64-bit
platforms.
s/to remove the warning/to
On Sat, 22 Sep 2007, Bruce Evans wrote:
On Sat, 22 Sep 2007, [utf-8] Dag-Erling Smørgrav wrote:
Sean Farley [EMAIL PROTECTED] writes:
Log:
The precision for a string argument in a call to warnx() needs to
be cast to an int to remove the warning from using a size_t
variable on 64-bit
scf 2007-09-22 02:30:44 UTC
FreeBSD src repository
Modified files:
lib/libc/stdlib getenv.c
Log:
The precision for a string argument in a call to warnx() needs to be cast
to an int to remove the warning from using a size_t variable on 64-bit
platforms.
scf 2007-09-15 21:48:55 UTC
FreeBSD src repository
Modified files:
lib/libc/stdlib getenv.c
Log:
Skip rebuilding environ in setenv() only upon reuse of an active variable;
inactive variables should cause a rebuild of environ, otherwise, exec()'d
processes will be
14 matches
Mail list logo