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

Andrey A. Chernov ache at FreeBSD.org
Mon Apr 30 20:10:11 UTC 2007


ache        2007-04-30 20:10:11 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/limits       limits.c 
  Log:
  limits 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.15      +2 -2      src/usr.bin/limits/limits.c


More information about the cvs-src mailing list