octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MSVC compiler support [patch 19]: strncasecmp needed in liboctave


From: John W. Eaton
Subject: MSVC compiler support [patch 19]: strncasecmp needed in liboctave
Date: Thu, 26 Oct 2006 22:39:48 -0400

On 17-Oct-2006, Michael Goffioul wrote:

| octave DLL needs strncasecmp implementation, which is only defined in
| src/ sub-directory
| Index: liboctave/Makefile.in
| ===================================================================
| RCS file: /cvs/octave/liboctave/Makefile.in,v
| retrieving revision 1.220
| diff -p -c -r1.220 Makefile.in
| *** liboctave/Makefile.in     13 Oct 2006 18:11:26 -0000      1.220
| --- liboctave/Makefile.in     17 Oct 2006 11:07:41 -0000
| *************** LIBOCTAVE_CXX_SOURCES := Bounds.cc Collo
| *** 131,137 ****
|   LIBOCTAVE_C_SOURCES := f2c-main.c filemode.c getopt.c getopt1.c \
|       lo-cieee.c lo-cutils.c mkdir.c oct-getopt.c \
|       randgamma.c randmtzig.c randpoisson.c rename.c \
| !     rmdir.c strftime.c strptime.c tempname.c tempnam.c
|   
|   LIBOCTAVE_SOURCES := $(LIBOCTAVE_CXX_SOURCES) $(LIBOCTAVE_C_SOURCES)
|   
| --- 134,140 ----
|   LIBOCTAVE_C_SOURCES := f2c-main.c filemode.c getopt.c getopt1.c \
|       lo-cieee.c lo-cutils.c mkdir.c oct-getopt.c \
|       randgamma.c randmtzig.c randpoisson.c rename.c \
| !     rmdir.c strftime.c strptime.c tempname.c tempnam.c 
$(top_srcdir)/src/strncase.c
|   
|   LIBOCTAVE_SOURCES := $(LIBOCTAVE_CXX_SOURCES) $(LIBOCTAVE_C_SOURCES)
|   

Instead of doing that, I moved strcasecmp.c and strncase.c from src to
liboctave, then moved the octave_strcasecmp and octave-strncasecmp
functions and declarations from src/cutils.c and src/utils.h to
liboctave/lo-cutils.c and liboctave/lo-utils.h.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]