curl-library
Re: removal of POSIX
Date: Mon, 18 Aug 2014 16:41:50 -0400
>
> The easiest way is probably to provide stub implementations for those
> functions that returns a correct return code but do nothing.
I agree.
One thing I am curious of though, and I have been digging into a lot of the
macros in libCURL and OpenSSL ( I am using OpenSSL with libCURL ), where at
in easy.c does it use the sigaction function?
I am getting a linker error coming from easy.o when I tell the config file
I have sigaction ( HAVE_SIGACTION 1 ) and when I tell the config I don't
have it, ui_openssl.o throws the linker error (which is part of the OpenSSL
library). I thought about manually removing the UI portion of OpenSSL but
am curious, what is the UI for? Is it strictly only used for command line
functionality? In this case, if it is, I would have no problem removing
it.
I know my problem might not be suitable for this mailing list, but maybe
you more knowledgeable people may be able to help me.
Regards,
JT
On Sat, Aug 16, 2014 at 6:04 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Fri, 15 Aug 2014, Jon Torrey wrote:
>
> This question is fairly simple and may be redundant, but is there any way
>> to strip libCURL of all POSIX functionality?
>>
>
> None provided, no.
>
>
> I have been working on the porting of libCURL to my system and have
>> gotten it to compile and link successfully, but during runtime I am getting
>> access denied errors on system calls of more specifically sigaction and
>> other signal functions. My system does in fact contain the signal.h file
>> and does support POSIX but I desire no use of the POSIX library. These
>> errors happen when attempting to make requests to the outside world and
>> with that said, my system uses the tcpip stack and the associated .c
>> files. Any feedback would be helpful.
>>
>
> The easiest way is probably to provide stub implementations for those
> functions that returns a correct return code but do nothing.
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-08-18