From 88d54cd78bf73348e4f207ab3f741aa374f28b1c Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 16 May 2002 12:47:44 +0000 Subject: 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 --- visualc/config.h | 7 ++++--- visualc/fltk.lib.dsp | 4 ++++ visualc/fltkdll.dsp | 5 +++++ 3 files changed, 13 insertions(+), 3 deletions(-) (limited to 'visualc') 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"\ -- cgit v1.2.3