Date: Tue, 20 Apr 2010 14:22:29 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/stdlib realpath.c Message-ID: <201004201422.o3KEMkim027274@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2010-04-20 14:22:29 UTC FreeBSD src repository Modified files: lib/libc/stdlib realpath.c Log: SVN rev 206898 on 2010-04-20 14:22:29Z by kib Free() is not allowed to modify errno, remove safety brackets around it [1]. Add small optimization, do not copy a string to the buffer that is to be freed immediately after. Noted by: jh [1] Reviewed by: jh MFC after: 2 weeks Revision Changes Path 1.22 +5 -13 src/lib/libc/stdlib/realpath.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004201422.o3KEMkim027274>