Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2005 14:51:27 +0000 (UTC)
From:      Alexey Zelkin <phantom@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/compat-43 getwd.c
Message-ID:  <200502271451.j1REpRIm001061@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phantom     2005-02-27 14:51:27 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/compat-43   getwd.c 
  Log:
  Replace usage of strerror()/strcpy() with strerror_r() here, reducing
  number of required operations to get error message and avoiding of strerror's
  buffer clobbering.
  
  Also ANSI'fy prototypes while I'm here
  
  Revision  Changes    Path
  1.4       +2 -4      src/lib/libc/compat-43/getwd.c



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