cvs commit: src/lib/libc/compat-43 getwd.c

Alexey Zelkin phantom at
Sun Feb 27 14:51:28 GMT 2005

phantom     2005-02-27 14:51:27 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/compat-43   getwd.c 
  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

More information about the cvs-src mailing list