summaryrefslogtreecommitdiff
path: root/dmake/dmstring.c
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-01-18 08:29:40 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-01-18 08:29:40 +0000
commitf00b7fadcc1a274e069bd3249ea449be9128ebee (patch)
tree84832496449fa4213bc9838dace2cc6a6ac3459d /dmake/dmstring.c
parent4817e49a59fd49833e6c2b1bada4e22644db2172 (diff)
INTEGRATION: CWS dmake47 (1.1.1.1.156); FILE MERGED
2006/09/29 18:50:22 vq 1.1.1.1.156.1: #i69814# Add/fix option to make directory cache case insensitive. (Make this the default for Windows and Mac OS X.) Added testcase.
Diffstat (limited to 'dmake/dmstring.c')
-rw-r--r--dmake/dmstring.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/dmake/dmstring.c b/dmake/dmstring.c
index b4ff6177c368..9659fc406768 100644
--- a/dmake/dmstring.c
+++ b/dmake/dmstring.c
@@ -1,4 +1,4 @@
-/* RCS $Id: dmstring.c,v 1.1.1.1 2000-09-22 15:33:25 hr Exp $
+/* RCS $Id: dmstring.c,v 1.2 2007-01-18 09:29:40 vg Exp $
--
-- SYNOPSIS
-- String handling code
@@ -285,3 +285,16 @@ char *e;
return( s );
}
+
+
+/* Provide "missing" string function. */
+#ifndef HAVE_STRLWR
+char *
+strlwr(char *s)
+{
+ char *p;
+ for(p=s; *p; p++ )
+ *p = tolower(*p);
+ return s;
+}
+#endif