Date: Tue, 5 Jan 2010 20:20:31 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/gen opendir.c scandir.c Message-ID: <201001052020.o05KKiqt027613@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2010-01-05 20:20:31 UTC FreeBSD src repository Modified files: lib/libc/gen opendir.c scandir.c Log: SVN rev 201604 on 2010-01-05 20:20:31Z by kib Do not rely on behaviour undefined by ANSI C, use thunks to adapt alphasort-like interface to the comparision function required by qsort() and qsort_r(). For opendir() thunk and alphasort(), comment on why we deviated from POSIX by using strcmp() instead of strcoll(). Requested and reviewed by: bde MFC after: 2 weeks Revision Changes Path 1.27 +14 -2 src/lib/libc/gen/opendir.c 1.11 +19 -2 src/lib/libc/gen/scandir.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001052020.o05KKiqt027613>