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

Thomas E. Spanjaard tgen at
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 
  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:	<>
  Reviewed-by:	Victor Balada Diaz <victor at>
  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

More information about the Commits mailing list