]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
Merge scandir(3) interface update to stable/8.
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 Jan 2010 12:35:36 +0000 (12:35 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 Jan 2010 12:35:36 +0000 (12:35 +0000)
commite1efae98e2eb75f308575bd962bfc3fca7c80510
treec96ffe7ab80950945f7669f3be0d541f0c85f20d
parentb2e14ba7d61c8d5d663c91f10baa8e9c1b586983
Merge scandir(3) interface update to stable/8.

MFC r201512:
Modernize scandir(3) and alphasort(3) interfaces according to the IEEE
Std 1003.1-2008.

MFC r201602:
Move scandir(3) and alphasort(3) into XSI namespace.

MFC r201604:
Use thunks to adapt alphasort-like interface to the comparision function
required by qsort() and qsort_r().

MFC r202556 (by ache):
Use strcoll() in opendir() and alphasort(). Remove some comments.

MFC r202572 (by ache):
Revert to using strcmp() for opendir().

MFC r202677 (by ache):
Style.

MFC r202679 (by ache):
Style: rename internal function to opendir_compar().

MFC r202691 (by ache):
For alphasort(3) add reference to strcoll(3).

MFC r202693 (by ache):
Style: reword comment.

git-svn-id: svn://svn.freebsd.org/base/stable/8@202921 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
include/dirent.h
lib/libc/gen/opendir.c
lib/libc/gen/scandir.3
lib/libc/gen/scandir.c
usr.bin/catman/catman.c
usr.bin/makewhatis/makewhatis.c
usr.sbin/lpr/common_source/lp.h
usr.sbin/lpr/common_source/rmjob.c