Re: cvs commit: src/bin/df df.c src/bin/sh var.c src/include stdlib.h src/libexec/pppoed pppoed.c src/sys/sys param.h src/lib/libc/stdlib Makefile.inc getenv.3 getenv.c putenv.c setenv.c src/tools/reg

2007-07-04 Thread Andrey Chernov
On Wed, Jul 04, 2007 at 06:42:49PM +0400, Andrey Chernov wrote: > On Wed, Jul 04, 2007 at 12:00:41AM +, Sean Farley wrote: > > Several patches to base utilities to handle the POSIX changes from > > Andrey Chernov's previous commit. A few I re-wrote to use setenv() > > instead of putenv()

Re: cvs commit: src/bin/df df.c src/bin/sh var.c src/include stdlib.h src/libexec/pppoed pppoed.c src/sys/sys param.h src/lib/libc/stdlib Makefile.inc getenv.3 getenv.c putenv.c setenv.c src/tools/reg

2007-07-04 Thread Andrey Chernov
On Wed, Jul 04, 2007 at 12:00:41AM +, Sean Farley wrote: > Several patches to base utilities to handle the POSIX changes from > Andrey Chernov's previous commit. A few I re-wrote to use setenv() > instead of putenv(). Replacing putenv() with setenv() should care about the case when pute

cvs commit: src/bin/df df.c src/bin/sh var.c src/include stdlib.h src/libexec/pppoed pppoed.c src/sys/sys param.h src/lib/libc/stdlib Makefile.inc getenv.3 getenv.c putenv.c setenv.c src/tools/regress

2007-07-03 Thread Sean Farley
scf 2007-07-04 00:00:41 UTC FreeBSD src repository Modified files: bin/df df.c bin/sh var.c include stdlib.h libexec/pppoed pppoed.c sys/sys param.h lib/libc/stdlib Makefile.inc getenv.3 gete

cvs commit: src/bin/df df.c

2007-04-29 Thread Andrey A. Chernov
ache2007-04-30 04:29:18 UTC FreeBSD src repository Modified files: bin/df df.c Log: Eliminate error with -W* strict flags and make putenv() calls conforming to standard in the same way as f.e. gcc internal portable code does. Revision ChangesPath 1

cvs commit: src/bin/df df.c

2007-04-06 Thread Alexander Kabaev
kan 2007-04-06 15:36:44 UTC FreeBSD src repository Modified files: bin/df df.c Log: getblocksize expects pointer to long as a second argument, not a pointer to u_long. Revision ChangesPath 1.68 +2 -2 src/bin/df/df.c __

cvs commit: src/bin/df df.c

2007-03-16 Thread Will Andrews
will2007-03-17 02:10:14 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) bin/df df.c Log: MFC: r1.67: Make error messages regarding -t and -l consistent. Revision ChangesPath 1.64.2.2 +4 -1 src/bin/df/df.c __

cvs commit: src/bin/df df.c

2007-03-07 Thread Will Andrews
will2007-03-08 06:10:17 UTC FreeBSD src repository Modified files: bin/df df.c Log: Fix a bug where the mutual exclusivity of the -l and -t options is not recognized properly if -l is specified first. PR: bin/105721 MFC after: 1

cvs commit: src/bin/df df.c

2007-01-19 Thread Christian S.J. Peron
csjp2007-01-20 02:19:09 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) bin/df df.c Log: MFC df.c revision 1.66 Based on The Open Group Base Specifications Issue 6 IEEE Std 1003.1, our current implementation of df(1) is does not prope

cvs commit: src/bin/df df.c

2006-09-20 Thread Christian S.J. Peron
csjp2006-09-20 20:55:02 UTC FreeBSD src repository Modified files: bin/df df.c Log: Based on The Open Group Base Specifications Issue 6 IEEE Std 1003.1, our current implementation of df(1) is does not properly format the output under certain conditions. Righ

cvs commit: src/bin/df df.c

2006-08-19 Thread Warner Losh
imp 2006-08-20 06:32:40 UTC FreeBSD src repository Modified files: bin/df df.c Log: Prefer strlcpy to strncpy. In one case, this saves us from re-zeroing data that's alreday 0. In another, it saves us from zeroing data that will be overwritten again.