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

Thomas E. Spanjaard tgen at crater.dragonflybsd.org
Wed Dec 6 04:00:52 PST 2006


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





More information about the Commits mailing list