[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strings.h on MSVC
From: |
Bruno Haible |
Subject: |
Re: strings.h on MSVC |
Date: |
Sun, 11 Sep 2011 21:24:07 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
> The MSVC compiler also has no <strings.h>.
And it has no strcasecmp(), strncasecmp() functions. To fix this, it's
sufficient to de-obsololetize the 'strcase' module, which provides the
replacements.
2011-09-11 Bruno Haible <address@hidden>
strcase: Support for MSVC.
* modules/strcase (Status, Notice): Remove obsoletion mark.
* doc/posix-functions/strcasecmp.texi: Mention MSVC problem.
* doc/posix-functions/strncasecmp.texi: Likewise.
--- doc/posix-functions/strcasecmp.texi.orig Sun Sep 11 21:18:50 2011
+++ doc/posix-functions/strcasecmp.texi Sun Sep 11 18:26:01 2011
@@ -9,7 +9,8 @@
Portability problems fixed by Gnulib:
@itemize
@item
-This function is missing on some old platforms.
+This function is missing on some platforms:
+MSVC 9.
@end itemize
Portability problems not fixed by Gnulib:
--- doc/posix-functions/strncasecmp.texi.orig Sun Sep 11 21:18:50 2011
+++ doc/posix-functions/strncasecmp.texi Sun Sep 11 18:26:01 2011
@@ -9,7 +9,8 @@
Portability problems fixed by Gnulib:
@itemize
@item
-This function is missing on some old platforms.
+This function is missing on some platforms:
+MSVC 9.
@end itemize
Portability problems not fixed by Gnulib:
--- modules/strcase.orig Sun Sep 11 21:18:50 2011
+++ modules/strcase Sun Sep 11 18:26:01 2011
@@ -1,12 +1,6 @@
Description:
Case-insensitive string comparison functions.
-Status:
-obsolete
-
-Notice:
-This module is obsolete.
-
Files:
lib/strcasecmp.c
lib/strncasecmp.c
--
In memoriam Georgi Markov <http://en.wikipedia.org/wiki/Georgi_Markov>