Commit 5e7164f8 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Matt Kraai provided a patch that makes curl build on QNX 6 fine again. Mostly

by letting configure check for setmode and ifdef on HAVE_SETMODE. NOTE: non-
configure platforms that havve setmode() needs their hard-coded config.h files
fixed. I fixed the src/config-win32.h.
parent ef10eaeb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -6,6 +6,9 @@

                                  Changelog

Daniel S (1 April 2007)
- Matt Kraai provided a patch that makes curl build on QNX 6 fine again.

Daniel S (31 March 2007)
- Fixed several minor issues detected by the coverity.com scanner.

+2 −1
Original line number Diff line number Diff line
@@ -70,6 +70,7 @@ advice from friends like these:
 Rob Crittenden, Robert A. Monat, Dan Fandrich, Duncan Mac-Vicar Prett,
 Michal Marek, Robson Braga Araujo, Ian Turner, Linus Nielsen Feltzing,
 Ravi Pratap, Adam D. Moss, Jose Kahan, Hang Kin Lau, Justin Fletcher,
 Robert Iakobashvili, Bryan Henderson, Eygene Ryabinkin, Daniel Johnson
 Robert Iakobashvili, Bryan Henderson, Eygene Ryabinkin, Daniel Johnson,
 Matt Kraai

        Thanks! (and sorry if I forgot to mention someone)
+2 −1
Original line number Diff line number Diff line
@@ -1850,7 +1850,8 @@ AC_CHECK_FUNCS( strtoll \
                getprotobyname \
                getrlimit \
                setrlimit \
                fork,
                fork \
                setmode,
dnl if found
[],
dnl if not found, $ac_func is the name we check for
+5 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
 *                            | (__| |_| |  _ <| |___
 *                             \___|\___/|_| \_\_____|
 *
 * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
 * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
 *
 * This software is licensed as described in the file COPYING, which
 * you should have received as part of this distribution. The terms
@@ -26,6 +26,10 @@
#include <string.h>
#include <ctype.h>

#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif

#include "strequal.h"

#if defined(HAVE_STRCASECMP) && defined(__STRICT_ANSI__)
+3 −0
Original line number Diff line number Diff line
@@ -72,6 +72,9 @@
/*                             FUNCTIONS                            */
/* ---------------------------------------------------------------- */

/* Define if you have the setmode function. */
#define HAVE_SETMODE 1

/* Define if you have the ftruncate function.  */
#define HAVE_FTRUNCATE 1

Loading