DragonFly commits List (threaded) for 2006-12
DragonFly BSD
DragonFly commits List (threaded) for 2006-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/lib/libc/gen confstr.3 confstr.c src/usr.bin/getconf getconf.c


From: "Thomas E. Spanjaard" <tgen@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 6 Dec 2006 03:58:57 -0800 (PST)

tgen        2006/12/06 03:58:57 PST

DragonFly src repository

  Modified files:
    lib/libc/gen         confstr.3 confstr.c 
    usr.bin/getconf      getconf.c 
  Log:
  Fix a bug in our confstr(3) implementation, it did not conform to POSIX
  1003.2. It returned -1 for errors where it should have returned 0.
  
  Also, fix the only consumer of confstr(3) in our tree, getconf(1).
  
  Dragonfly-bug:	<http://bugs.dragonflybsd.org/issue393>
  Reviewed-by:	Victor Balada Diaz <victor@bsdes.net>
  
  Revision  Changes    Path
  1.4       +4 -2      src/lib/libc/gen/confstr.3
  1.4       +6 -3      src/lib/libc/gen/confstr.c
  1.4       +2 -1      src/usr.bin/getconf/getconf.c


http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/confstr.3.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/confstr.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/getconf/getconf.c.diff?r1=1.3&r2=1.4&f=u



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