cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1689507 ] Fails to compile on QNX 6

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 01 Apr 2007 00:52:07 -0700

Bugs item #1689507, was opened at 2007-03-28 00:47
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1689507&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: compile or build problem
>Group: portability problem
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Matt Kraai (kraai)
>Assigned to: Daniel Stenberg (bagder)
Summary: Fails to compile on QNX 6

Initial Comment:
cURL fails to build on QNX 6 because

 * strequal.c fails to compile because strcasecmp is not declared. strcasecmp is declared in strings.h, but strequal.c doesn't include it.
 * setmode is called but is not defined because main.c assumes that it's present if O_BINARY is defined.

The attached patch fixes these issues.

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2007-04-01 09:52

Message:
Logged In: YES
user_id=1110
Originator: NO

Thanks, committed. With a fix to src/config-win32.h for this.

----------------------------------------------------------------------

Comment By: Dan Fandrich (dfandrich)
Date: 2007-03-28 06:31

Message:
Logged In: YES
user_id=236775
Originator: NO

The patch looks good to me, but all the relevant platforms that don't use
autoconf will need to be updated to add HAVE_SETMODE. This especially
includes the DOS/Windows platforms, where curl will completely break
without this update.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1689507&group_id=976
Received on 2007-04-01

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET