cvs commit: src/tools/regression/environ envctl.c

Sean Farley scf at
Sat Mar 1 00:02:13 UTC 2008

scf         2008-03-01 00:02:12 UTC

  FreeBSD src repository

  Modified files:
    tools/regression/environ envctl.c 
  Remove a dereference.  It was unintended and a no-op.
  Use the correct value of errno.  Although the errno value passed into
  printf() follows the *env() call, it is not guaranteed to be the errno
  from that call.  When I wrote the regression tester, the environment I
  used did pass the errno from the call.  Consolidate the print for the
  return code and errno into a function in the process of fixing this.
  Approved by:    wes (mentor)
  Revision  Changes    Path
  1.3       +30 -20    src/tools/regression/environ/envctl.c

More information about the cvs-src mailing list