summaryrefslogtreecommitdiff
path: root/visualc
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-05-16 12:47:44 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-05-16 12:47:44 +0000
commit88d54cd78bf73348e4f207ab3f741aa374f28b1c (patch)
treed9310acf36b480d31f0c1527520fe7376f7953ca /visualc
parent36546824762618bbe76d4ac72b632ca9927acd9f (diff)
Massive update to use strlcpy() and strlcat() instead of strncpy()
and strncat() in almost all places (there are still a few strncpy's that need to be used...) Added configure check for strlcat() and strlcpy(). Added emulation code for strlcat() and strlcpy(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'visualc')
-rw-r--r--visualc/config.h7
-rw-r--r--visualc/fltk.lib.dsp4
-rw-r--r--visualc/fltkdll.dsp5
3 files changed, 13 insertions, 3 deletions
diff --git a/visualc/config.h b/visualc/config.h
index 7d171c0e7..8f08d83fe 100644
--- a/visualc/config.h
+++ b/visualc/config.h
@@ -1,5 +1,5 @@
/*
- * "$Id: config.h,v 1.5.2.5.2.8 2002/05/02 14:15:46 easysw Exp $"
+ * "$Id: config.h,v 1.5.2.5.2.9 2002/05/16 12:47:44 easysw Exp $"
*
* Configuration file for the Fast Light Tool Kit (FLTK) for Visual C++.
*
@@ -143,13 +143,14 @@
#define HAVE_VSNPRINTF 0
#define HAVE_SNPRINTF 0
-#define HAVE_VSPRINTF 1
/*
* String functions...
*/
#define HAVE_STRCASECMP 1
+/*#undef HAVE_STRLCAT*/
+/*#undef HAVE_STRLCPY*/
/*
* HAVE_POLL:
@@ -183,5 +184,5 @@
/*
- * End of "$Id: config.h,v 1.5.2.5.2.8 2002/05/02 14:15:46 easysw Exp $".
+ * End of "$Id: config.h,v 1.5.2.5.2.9 2002/05/16 12:47:44 easysw Exp $".
*/
diff --git a/visualc/fltk.lib.dsp b/visualc/fltk.lib.dsp
index 2219dfc56..671328abe 100644
--- a/visualc/fltk.lib.dsp
+++ b/visualc/fltk.lib.dsp
@@ -599,6 +599,10 @@ SOURCE=..\src\Fl_XPM_Image.cxx
# End Source File
# Begin Source File
+SOURCE=..\src\flstring.c
+# End Source File
+# Begin Source File
+
SOURCE=..\src\numericsort.c
# End Source File
# Begin Source File
diff --git a/visualc/fltkdll.dsp b/visualc/fltkdll.dsp
index 4151d8816..acfc50941 100644
--- a/visualc/fltkdll.dsp
+++ b/visualc/fltkdll.dsp
@@ -2174,6 +2174,11 @@ DEP_CPP_FL_XP=\
# End Source File
# Begin Source File
+SOURCE=..\src\flstring.c
+
+# End Source File
+# Begin Source File
+
SOURCE=..\src\forms_bitmap.cxx
DEP_CPP_FORMS=\
"..\fl\enumerations.h"\