Re: Re: [PATCH v2 1/4] Include new arbitrary limits if not already defined

2024-01-24 Thread Eric Blake
s a bug that incorrectly defines SIZE_MAX with > > * the wrong type. Our replacement isn't usable in preprocessor > > * expressions, but it is sufficient for our needs. */ > > Ccing some people who know more about portability concerns > than I do... > > thanks > -- PMM > -- Eric Blake, Principal Software Engineer Red Hat, Inc. Virtualization: qemu.org | libguestfs.org

Re: bug#11437: coreutils: Please disable misc/nice test on hurd-i386]

2012-05-08 Thread Eric Blake
priority) If you make that fix to Hurd, then the mapping will just work, and coreutils will start passing the test. -- Eric Blake ebl...@redhat.com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: bug#10021: [PATCH id] Add error-checking on GNU

2011-11-16 Thread Eric Blake
On 11/15/2011 10:09 AM, Eric Blake wrote: > Still debatable. POSIX explicitly states that the condition of errno > after a successful call to a standardized function is unspecified; that > is, a successful geteuid() may pollute errno, but it's okay, because the > user should

Re: bug#10021: [PATCH id] Add error-checking on GNU

2011-11-15 Thread Eric Blake
after geteuid(). It might be worth proposing a change to POSIX to require that geteuid() and friends leave errno unchanged on success (in order to allow for the GNU extension of setting errno on failure, even though POSIX did not reserve a specific value for failure); I'll pursue that course.

Re: bug#10021: [PATCH id] Add error-checking on GNU

2011-11-14 Thread Eric Blake
uid_t is signed, it makes sense, but on systems where uid_t is unsigned, this will always be false (and probably trigger a gcc warning), and still fail to catch the (uid_t)(-1) case that we are trying to diagnose. -- Eric Blake ebl...@redhat.com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

link(dir,name) should fail with EPERM

2011-03-01 Thread Eric Blake
POSIX states that this should fail with EPERM, not EISDIR: $ mkdir d $ link d c This was detected by the gnulib testsuite; I've since updated that testsuite to tolerate Hurd's current behavior, but it might be worth updating link(2) to comply with the standard. -- Eric B

fdopendir on non-directory

2009-10-06 Thread Eric Blake
R up front. - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enig

Re: rename() making ext2fs going bonkers?

2009-10-06 Thread Eric Blake
uot;/" after the dot). And in the meantime, that's how gnulib will work around the problem, provided I can find a way to write an m4 test that won't hang but will still expose the bug. - -- Don't work too hard, make some time for fun as well! Eric Blake e...@