* strcasecmp.c: New file.
* strncasecmp.c: New file.
* wscmpi.c : New file.
* ctype_old.c: Remove, splitting into...
* isascii.c: New file.
* iscsym.c: New file.
* iscsymf.c: New file.
* toascii.c: New file.
* Makefile.in (MOLD_OBJS): Adjust.
(SRCDIST_FILES): Adjust.
+2003-05-14 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * string_old.c: Remove, splitting into...
+ * strcasecmp.c: New file.
+ * strncasecmp.c: New file.
+ * wscmpi.c : New file.
+ * ctype_old.c: Remove, splitting into...
+ * isascii.c: New file.
+ * iscsym.c: New file.
+ * iscsymf.c: New file.
+ * toascii.c: New file.
+ * Makefile.in (MOLD_OBJS): Adjust.
+ (SRCDIST_FILES): Adjust.
+
2003-05-13 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h (fabs) : Remove inline definition.
MINGW_OBJS = CRTglob.o CRTfmode.o CRTinit.o dllmain.o gccmain.o \
main.o crtst.o mthr_stub.o CRT_fp10.o txtmode.o \
pseudo-reloc.o pseudo-reloc-list.o
-MOLD_OBJS = ctype_old.o string_old.o
+
+MOLD_OBJS = isascii.o iscsym.o iscsymf.o toascii.o \
+ strcasecmp.o strncasecmp.o wcscmpi.o
LIBS = libcrtdll.a libmsvcrt.a libmsvcrtd.a libmingw32.a \
libcoldname.a libmoldname.a libmoldnamed.a $(LIBM_A) libmingwthrd.a
SRCDIST_FILES = CRT_noglob.c CRTfmode.c CRTglob.c CRTinit.c ChangeLog \
Makefile.in README TODO config.guess config.sub configure configure.in \
-crt1.c crtdll.def crtmt.c crtst.c ctype_old.c dllcrt1.c dllmain.c \
+crt1.c crtdll.def crtmt.c crtst.c dllcrt1.c dllmain.c \
gccmain.c init.c install-sh jamfile main.c mkinstalldirs \
moldname.def.in msvcrt.def.in \
-mthr.c mthr_init.c mthr_stub.c readme.txt string_old.c \
+mthr.c mthr_init.c mthr_stub.c readme.txt \
+isascii.c iscsym.c iscsymf.c toascii.c \
+strcasecmp.c strncasecmp.c wcscmpi.c \
CRT_fp8.c CRT_fp10.c test_headers.c txtmode.c binmode.c pseudo-reloc.c \
pseudo-reloc-list.c
--- /dev/null
+/*
+ * iscsym.c
+ *
+ * Oldnames from ANSI header ctype.h
+ *
+ * Some wrapper functions for those old name functions whose appropriate
+ * equivalents are not simply underscore prefixed.
+ *
+ * Contributors:
+ * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAMED. This includes but is not limited to warrenties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * $Revision$
+ * $Author$
+ * $Date$
+ *
+ */
+
+#include <ctype.h>
+
+int
+iscsym (int c)
+{
+ return __iscsym(c);
+}
--- /dev/null
+/*
+ * iscsymf.c
+ *
+ * Oldnames from ANSI header ctype.h
+ *
+ * Some wrapper functions for those old name functions whose appropriate
+ * equivalents are not simply underscore prefixed.
+ *
+ * Contributors:
+ * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAMED. This includes but is not limited to warrenties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * $Revision$
+ * $Author$
+ * $Date$
+ *
+ */
+
+#include <ctype.h>
+
+int
+iscsymf (int c)
+{
+ return __iscsymf(c);
+}
+
--- /dev/null
+/*
+ * strcasecmp.c
+ *
+ * Oldnames from ANSI header string.h
+ *
+ * Some wrapper functions for those old name functions whose appropriate
+ * equivalents are not simply underscore prefixed.
+ *
+ * Contributors:
+ * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAMED. This includes but is not limited to warrenties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * $Revision$
+ * $Author$
+ * $Date$
+ *
+ */
+
+#include <string.h>
+
+int
+strcasecmp (const char *sz1, const char *sz2)
+{
+ return _stricmp (sz1, sz2);
+}
+
/*
- * string_old.c
+ * strncasecmp.c
*
* Oldnames from ANSI header string.h
*
#include <string.h>
int
-strcasecmp (const char *sz1, const char *sz2)
-{
- return _stricmp (sz1, sz2);
-}
-
-int
strncasecmp (const char *sz1, const char *sz2, size_t sizeMaxCompare)
{
return _strnicmp (sz1, sz2, sizeMaxCompare);
}
-int
-wcscmpi (const wchar_t * ws1, const wchar_t * ws2)
-{
- return _wcsicmp (ws1, ws2);
-}
-
/*
- * ctype_old.c
+ * toascii.c
*
* Oldnames from ANSI header ctype.h
*
#include <ctype.h>
-int
-isascii (int c)
-{
- return __isascii(c);
-}
int
toascii (int c)
return __toascii(c);
}
-int
-iscsymf (int c)
-{
- return __iscsymf(c);
-}
-
-int
-iscsym (int c)
-{
- return __iscsym(c);
-}
--- /dev/null
+/*
+ * wcscmpi.c
+ *
+ * Oldnames from ANSI header string.h
+ *
+ * Some wrapper functions for those old name functions whose appropriate
+ * equivalents are not simply underscore prefixed.
+ *
+ * Contributors:
+ * Created by Colin Peters <colin@bird.fu.is.saga-u.ac.jp>
+ *
+ * THIS SOFTWARE IS NOT COPYRIGHTED
+ *
+ * This source code is offered for use in the public domain. You may
+ * use, modify or distribute it freely.
+ *
+ * This code is distributed in the hope that it will be useful but
+ * WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY
+ * DISCLAMED. This includes but is not limited to warrenties of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * $Revision$
+ * $Author$
+ * $Date$
+ *
+ */
+
+#include <string.h>
+
+int
+wcscmpi (const wchar_t * ws1, const wchar_t * ws2)
+{
+ return _wcsicmp (ws1, ws2);
+}
+