cvs commit: src/usr.bin/env env.c

Andrey A. Chernov ache at FreeBSD.org
Mon Apr 30 19:25:01 UTC 2007


ache        2007-04-30 19:25:00 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/env          env.c 
  Log:
  env calls setenv("name=value", "value", 1); which violates POSIX:
  "The setenv( ) function shall fail if:
  [EINVAL] The name argument is a null pointer, points to an empty string,
  or points to a string containing an '=' character."
  The fix (like all others in this subject) is backward-compatible.
  
  Revision  Changes    Path
  1.17      +3 -3      src/usr.bin/env/env.c


More information about the cvs-all mailing list