|Subject:||RE : Re: openat, failing fchdir|
|Date:||Thu, 23 Dec 2010 18:47:51 +0100|
See my attempt to provide program name under aix hpux and irix,
If you could test it, i could help you
Btw instead of creating our own interface why not use the well known bsd interface?
Getprogname() and setprogname()?
Le 23 déc. 2010 18:19, "Bruce Korb" <address@hidden> a écrit :
On 12/23/10 06:52, Eric Blake wrote:It is slightly more complicated than that: The *at gnulib modules
> Unfortunately, it is not possible to pass fds on cygwin; it i...
need to not drag in gnulib modules that have an extended interface
requirement. viz. a call to set_program_name().
As has been pointed out in this thread, there are lots of end-case
issues that need resolution for a perfect implementation.
An "adequate" implementation needs to not seg fault during
an attempt to print an informative message. That can be handled
by either not necessarily calling error() on an error, or by
changing error() to not require that program_name be set.
When I get back from my Christmas weekend, I propose fiddling the
code the least invasive way possible for libposix and let the
Perfect Implementation come later. I'd rather to rework than
stall around any more.
|[Prev in Thread]||Current Thread||[Next in Thread]|