apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Huelsmann <ehu...@gmail.com>
Subject Re: [PATCH] Don't define POSIX types {p,g,u}id_t
Date Tue, 26 Apr 2005 13:24:58 GMT
On 4/26/05, Joe Orton <jorton@redhat.com> wrote:
> On Tue, Apr 26, 2005 at 08:09:09AM +0200, Erik Huelsmann wrote:
> > How about the patch below?
> >
> > It could easily be backported, as it could be presented as fixing what
> > should not have been in APR headers.
> 
> Will this not break programs on Windows which hitherto presumed that APR
> defines these types?  i.e. it breaks the source-compatibility API
> guarantee for APR 1.x?

Yes, it does, if you consider that an APR api promise. I don't: I
consider it an unfortunate side effect of header file structuring (a
bug to be fixed): the APR type to use (in 1.1.x) always has been
apr_os_proc_t which serves the purpose of pid_t in a platform
independent way.


bye,

Erik.

Mime
View raw message