please add scandir, alphasort, versionsort

2008-09-15 Thread Michael Haubenwallner
Hi, As far as I can search, scandir and alphasort are candidates for the next Single Unix Specification (post v3), and their usage is growing. On Solaris for example, they are available starting with Solaris 10, but I have the need to port some package to Solaris 8 and 9. So I'm wondering if

Re: new module 'errno'

2008-09-15 Thread Bruno Haible
Eric Blake wrote: # ifndef ECANCELED # define ECANCELED 136 # define GNULIB_defined_ECANCELED 1 # endif Using this value is inappropriate, as well. Cygwin currently has errors up through EOVERFLOW 139. Oops, right. And on Solaris, ESTALE is 151. And on HP-UX, EWOULDBLOCK is 246.

Re: new module 'errno'

2008-09-15 Thread Yoann Vandoorselaere
Le lundi 15 septembre 2008 à 12:27 +0200, Bruno Haible a écrit : Eric Blake wrote: # ifndef ECANCELED # define ECANCELED 136 # define GNULIB_defined_ECANCELED 1 # endif Using this value is inappropriate, as well. Cygwin currently has errors up through EOVERFLOW 139. Oops,

Re: please add scandir, alphasort, versionsort

2008-09-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Michael Haubenwallner on 9/15/2008 4:11 AM: Hi, As far as I can search, scandir and alphasort are candidates for the next Single Unix Specification (post v3), and their usage is growing. On Solaris for example, they are available

Re: new module 'errno'

2008-09-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 9/13/2008 4:41 PM: Hi Paolo and others, Here's the module 'errno'. It provides a complete POSIX errno.h. Any reason tests/test-errno.c states this? /* Don't verify that these errno values are all different, except

[PATCH] avoid spurious test failure when library is built without ACL support

2008-09-15 Thread Jim Meyering
When compiling without sys/acl.h or any of various other conditions that inhibit use of ACL support, these two tests would fail: (for the record, this happened on Fedora 9 for me, but that's not really pertinent) FAIL: test-file-has-acl.sh.log FAIL: test-copy-acl.sh.log That's because

Re: new module 'errno'

2008-09-15 Thread Yoann Vandoorselaere
Le lundi 15 septembre 2008 à 13:39 +0200, Bruno Haible a écrit : Yoann Vandoorselaere wrote: OpenBSD currently fails the errno unit-tests because it lacks support for ENOLINK, EPROTO, EMULTIHOP, EBADMSG, ENOTSUP. The configure script report: checking for complete errno.h... yes

Re: [PATCH] testsuite for poll(2)

2008-09-15 Thread Yoann Vandoorselaere
lisa ray nude pic all visible her partshttp://2sexywallpapers.blogspot.com/2008/09/lisa-ray-nude-pic-all-visible-her-parts.html1)here she is showing her b fully visible 2)here she is showing her ass and front hot

tests cleanup

2008-09-15 Thread Eric Blake
I noticed some compiler warnings in the m4 testsuite, which were easy to avoid even though they didn't affect correctness. From a0dc688369a937a657cdf8d35f362c3068b0af9a Mon Sep 17 00:00:00 2001 From: Eric Blake [EMAIL PROTECTED] Date: Mon, 15 Sep 2008 14:31:03 -0600 Subject: [PATCH] tests: avoid

Re: msgmerge speedup: fstrcmp and diffseq improvements

2008-09-15 Thread Ralf Wildenhues
Hi Bruno, Thanks for the nice feedback, and for promptly addressing my patches! Your changes to them all looked good to me. * Bruno Haible wrote on Mon, Sep 15, 2008 at 01:50:52AM CEST: 3) When computing one string pair distance, avoid computing the path (i.e., the edit script). We are

Re: new module 'errno'

2008-09-15 Thread Bruno Haible
Hi Eric, POSIX 200x adds ENOTRECOVERABLE and EOWNERDEAD (in the context of newly mandated robust mutexes), which very few implementations are likely to provide yet. I would not find it wise to add these to our errno.h replacement now, because - Generally, I prefer to wait for a standard to

Re: [PATCH] avoid spurious test failure when library is built without ACL support

2008-09-15 Thread Bruno Haible
Hi Jim, Bruno, I think you wrote the test, so I'll wait to hear from you before pushing. * m4/acl.m4 (USE_ACL): Define as a shell variable, too, for... * modules/acl-tests (Makefile.am) [TESTS_ENVIRONMENT]: Add USE_ACL. * tests/test-file-has-acl.sh: Skip if USE_ACL == 0. *

Re: msgmerge speedup: fstrcmp and diffseq improvements

2008-09-15 Thread Bruno Haible
Hi Ralf, Your draft patch doesn't directly apply to the current CVS tree; I haven't tested and looked at it in detail yet. It is all committed now. See below for a character frequency bound that is only a little more expensive than string length comparison (sort of a 1-gram version of