On Tue, 16 Jul 2002, Richard Levitte via RT wrote:

>
> Quick question: does string.h in Unixware define strcasecmp()?

It's not defined in string.h but that wouldn't really matter.
strcasecmp() returns an int

I just tested changing to string.h and it works fine.

Hmm loking at the apps/apps.c and apps/ca.c again I see string.h was
allready included.

So this should be fine.

--- apps.c.orig Tue Jun 18 10:44:01 2002
+++ apps.c      Tue Jul 16 13:10:21 2002
@@ -128,8 +128,6 @@

 #ifdef OPENSSL_SYS_WINDOWS
 #define strcasecmp _stricmp
-#else
-#include <strings.h>
 #endif

 #ifdef OPENSSL_SYS_WINDOWS
--- ca.c.orig   Sun May 19 09:32:20 2002
+++ ca.c        Tue Jul 16 13:10:40 2002
@@ -79,8 +79,6 @@

 #ifdef OPENSSL_SYS_WINDOWS
 #define strcasecmp _stricmp
-#else
-#include <strings.h>
 #endif

 #ifndef W_OK

>
> strings.h is non-standard while string.h is standard, as far as I
> know.  We should change that in any case, unless someone has a
> different opinion.
>
> [[EMAIL PROTECTED] - Mon Jul 15 09:33:16 2002]:
>
> >
> > This patch seems to have been lost. I'm resending the patch
> > against the OpenSSL_0_9_7-stable branch (Jul 13)
> >
> > I'd like to have my UnixWare platforms working before I look at
> > my SCO platforms.
> >
> > On Sun, 17 Feb 2002, Tim Rice wrote:
> >
> > >
> > > Attached is a patch against the OpenSSL_0_9_7-stable branch (Feb
> 17)
> > > that fixes the build on UnixWare 2.x
> > >
> > > Files changed: Configure, apps/apps.c, and apps/ca.c
> > >
> > > I've added -lresolv so it can find strcasecmp().
> > >
> > > UnixWare 2.0x does not have strings.h so I changed apps.c and
> ca.c
> > It has string.h
> > > .......
> > > #  ifdef NO_STRINGS_H
> > >     int   strcasecmp();
> > > #  else
> > > #    include <strings.h>
> > > #  endif /* NO_STRINGS_H */
> > > .......
> > >

-- 
Tim Rice                                Multitalents    (707) 887-1469
[EMAIL PROTECTED]



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to