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

Sean Farley scf at FreeBSD.org
Sun Aug 3 22:47:33 UTC 2008


scf         2008-08-03 22:47:23 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdlib      getenv.c 
  Log:
  SVN rev 181266 on 2008-08-03 22:47:23Z by scf
  
  Restructure and use different variables in the tests that involve
  environ[0] to be more obvious that environ is not NULL before environ[0]
  is tested.  Although I believe the previous code worked, this change
  improves code maintainability.
  
  Reviewed by:    ache
  MFC after:      3 days
  
  Revision  Changes    Path
  1.15      +15 -13    src/lib/libc/stdlib/getenv.c


More information about the cvs-src mailing list