Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2002 17:46:24 -0700 (PDT)
From:      Mike Barcroft <mike@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/realpath realpath.c
Message-ID:  <200206090046.g590kO395688@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
mike        2002/06/08 17:46:24 PDT

  Modified files:
    bin/realpath         realpath.c 
  Log:
  Check the return value of getcwd() to avoid printf()ing a NULL.  Mark
  usage() as __dead2 to avoid a GCC warning.
  
  Spotted by:     keramida
  
  Revision  Changes    Path
  1.2       +5 -4      src/bin/realpath/realpath.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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