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

Andrey A. Chernov ache at FreeBSD.org
Mon Apr 30 03:47:32 UTC 2007


ache        2007-04-30 03:47:32 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      getenv.3 setenv.c 
  Log:
  Remove special case skipping initial '=' of the setenv() value "for
  compatibility with the different environment conventions" (man page).
  With the standards, we don't have them different anymore and
  IEEE Std 1003.1-2001 says that
  
  "The values that the environment variables may be assigned are not
  restricted except that they are considered to end with a null byte"
  
  Revision  Changes    Path
  1.22      +0 -5      src/lib/libc/stdlib/getenv.3
  1.12      +0 -2      src/lib/libc/stdlib/setenv.c


More information about the cvs-all mailing list