Joe Orton wrote:
On Sun, May 16, 2004 at 08:17:41PM -0700, Stas Bekman wrote:
What I'm after is having APR API specify which apr functions have errno
set, so one can rely on that and not do guessing which can change in the
future.
Do you mean, such that errno is guaranteed to be equal to the
ap
On Mon, 17 May 2004, Joe Orton wrote:
> Do you mean, such that errno is guaranteed to be equal to the
> apr_status_t returned? I don't think APR does/could/should give that
> guarantee anywhere.
All your APR are belong to us
They cited errno.h as an instance of their IP that had been - erm -
il
On Sun, May 16, 2004 at 08:17:41PM -0700, Stas Bekman wrote:
> What I'm after is having APR API specify which apr functions have errno
> set, so one can rely on that and not do guessing which can change in the
> future.
Do you mean, such that errno is guaranteed to be equal to the
apr_status_t
On Sun, 16 May 2004, Cliff Woolley wrote:
> On Sun, 16 May 2004, Stas Bekman wrote:
>
> > What I'm after is having APR API specify which apr functions have errno set,
> > so one can rely on that and not do guessing which can change in the future.
>
> My gut reaction is that if we actually /need/ e
Stas Bekman wrote:
I have noticed that besides apr_status_t many of the apr api functions
get errno set on error, since they perform system calls internally,
which set errno. e.g. apr_file_read.
While writing interfaces for other systems, that talk to libapr, and use
errno for the errors handli
On Sun, 16 May 2004, Stas Bekman wrote:
> What I'm after is having APR API specify which apr functions have errno set,
> so one can rely on that and not do guessing which can change in the future.
My gut reaction is that if we actually /need/ errno to be set to glean
useful information about what
I have noticed that besides apr_status_t many of the apr api functions get
errno set on error, since they perform system calls internally, which set
errno. e.g. apr_file_read.
While writing interfaces for other systems, that talk to libapr, and use errno
for the errors handling, it's not possib