Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2008 22:47:23 +0000 (UTC)
From:      Sean Farley <scf@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdlib getenv.c
Message-ID:  <200808032247.m73MlXGe025012@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808032247.m73MlXGe025012>