cvs commit: src/lib/libc/stdlib getenv.3 getenv.c putenv.c setenv.c

Andrey A. Chernov ache at
Mon Apr 30 02:25:02 UTC 2007

ache        2007-04-30 02:25:02 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      getenv.3 getenv.c putenv.c setenv.c 
  Make setenv, putenv, getenv and unsetenv conforming to Open Group specs
  Issue 6 (also IEEE Std 1003.1-2001) in following areas:
  args, return, errors.
  Putenv still needs rewriting because specs explicitly says that
  altering passed string later should change the environment (currently we
  copy the string so can't provide that).
  Revision  Changes    Path
  1.21      +23 -9     src/lib/libc/stdlib/getenv.3
  1.6       +5 -5      src/lib/libc/stdlib/getenv.c
  1.4       +6 -2      src/lib/libc/stdlib/putenv.c
  1.11      +14 -3     src/lib/libc/stdlib/setenv.c

More information about the cvs-src mailing list