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 --- makefiles/config.mingw | 8 +++++--- makefiles/config.os2x | 7 ++++--- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'makefiles') diff --git a/makefiles/config.mingw b/makefiles/config.mingw index 203799eeb..9ba41cf76 100644 --- a/makefiles/config.mingw +++ b/makefiles/config.mingw @@ -1,5 +1,5 @@ /* - * "$Id: config.mingw,v 1.1.2.3.2.4 2002/04/28 16:41:16 easysw Exp $" + * "$Id: config.mingw,v 1.1.2.3.2.5 2002/05/16 12:47:43 easysw Exp $" * * Configuration file for the Fast Light Tool Kit (FLTK). * @@ -141,13 +141,15 @@ #define HAVE_VSNPRINTF 0 #define HAVE_SNPRINTF 0 -#define HAVE_VSPRINTF 0 /* * String functions... */ +/* #undef HAVE_STRINGS_H */ #define HAVE_STRCASECMP 1 +/* #undef HAVE_STRLCAT*/ +/* #undef HAVE_STRLCPY*/ /* * HAVE_SYS_SELECT_H: @@ -190,5 +192,5 @@ /* - * End of "$Id: config.mingw,v 1.1.2.3.2.4 2002/04/28 16:41:16 easysw Exp $". + * End of "$Id: config.mingw,v 1.1.2.3.2.5 2002/05/16 12:47:43 easysw Exp $". */ diff --git a/makefiles/config.os2x b/makefiles/config.os2x index cd89c9b38..f277051f8 100644 --- a/makefiles/config.os2x +++ b/makefiles/config.os2x @@ -1,6 +1,6 @@ /* config.h. Generated automatically by configure. */ /* - * "$Id: config.os2x,v 1.1.2.4.2.6 2002/04/28 16:41:16 easysw Exp $" + * "$Id: config.os2x,v 1.1.2.4.2.7 2002/05/16 12:47:43 easysw Exp $" * * Configuration file for the Fast Light Tool Kit (FLTK). * @configure_input@ @@ -156,7 +156,6 @@ #define HAVE_VSNPRINTF 1 #define HAVE_SNPRINTF 1 -#define HAVE_VSPRINTF 1 /* * String functions and headers... @@ -164,6 +163,8 @@ #define HAVE_STRINGS_H 1 /* #undef HAVE_STRCASECMP */ +/* #undef HAVE_STRLCAT*/ +/* #undef HAVE_STRLCPY*/ /* * HAVE_SYS_SELECT_H: @@ -221,5 +222,5 @@ /* - * End of "$Id: config.os2x,v 1.1.2.4.2.6 2002/04/28 16:41:16 easysw Exp $". + * End of "$Id: config.os2x,v 1.1.2.4.2.7 2002/05/16 12:47:43 easysw Exp $". */ -- cgit v1.2.3