curl-library
Re: [PATCH] TPF-platform specific changes to various files
Date: Fri, 1 May 2009 11:51:24 -0600
The minor changes test out fine.
The 3rd parm for getpeername on TPF is an int:
int getpeername(int s, struct sockaddr *name, int *namelen);
And int's on TPF are 4 bytes long.
Thank you,
David McCreedy
On Fri, May 1, 2009 at 6:47 AM, Yang Tse <yangsita_at_gmail.com> wrote:
> 2009/5/1, David McCreedy wrote:
>
> > This patch contains various TPF-platform specific changes.
>
> Committed with minor changes, see below...
>
> > A TPF-specific change to include additional header files was made to
> three
> > header files:
> >
> > lib/setup.h, src/setup.h, and tests/libtest/test.h
>
> The minor changes to this patch have been in the above three files.
>
> > TPF-specific values were added to include/curl/curlbuild.h because TPF
> does
> > not run configure as part of its Curl build process.
>
> Additionally we need to know the data type and size used for the third
> argument of getpeername(), this will be used for curl_socklen_t.
>
> If the data type is not a compiler native data type we also need to
> know which system header files are required to be included to get its
> type definition.
>
> > And I would like to create sample build files for the TPF platform since
> it
> > doesn't use the normal Makefiles:
> >
> > packages/TPF/curl.mak,
> > packages/TPF/maketpf.env_curllib, and
> > packages/TPF/maketpf.env_curl
>
> These committed without changes.
>
> --
> -=[Yang]=-
>
Received on 2009-05-01