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

2011-11-14 Thread Roland McGrath
I think you can portably detect the failure case with the errno=0 method, rather than relying on #ifdef.

Re: euidaccessat [Re: one more openat-style function required: fchmodat

2006-01-05 Thread Roland McGrath
Is Solaris eaccess the same as euidaccess? Should glibc provide eaccess as an alias for euidaccess? Except on the Hurd, euidaccess actually either just uses access (when r==e) or uses stat and the usual st_mode rules assuming those are what the filesystem will actually use, which you can do yours

Re: one more openat-style function required: fchmodat

2006-01-05 Thread Roland McGrath
It's a natural, obvious, and useful addition, no matter what Solaris does or doesn't have. I've put it in. If there are any more *at additions that might be useful, right now is the time to bring them up. So rack your brain. Thanks, Roland ___ Bug-

Re: [ams@kemisten.nu: ls --translators (coreutils)]

2003-09-19 Thread Roland McGrath
> Alfred M. Szmidt wrote: > >> + if (trans_stat.st_mode & S_IPTRANS) > >> +{ > >> + char buf[1024], *trans = buf; > >Is this 1024-byte buffer guaranteed to be large enough? Code like this is using a mig stub feature whereby a larger buffer is alloc