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
This commit is contained in:
Michael R Sweet
2002-05-16 12:47:44 +00:00
parent 3654682476
commit 88d54cd78b
47 changed files with 414 additions and 374 deletions
+2 -3
View File
@@ -1,5 +1,5 @@
/*
* "$Id: config.h,v 1.1.2.1 2002/03/25 18:31:30 easysw Exp $"
* "$Id: config.h,v 1.1.2.2 2002/05/16 12:47:42 easysw Exp $"
*
* Configuration file for the Fast Light Tool Kit (FLTK) for Borland C++.
*
@@ -143,7 +143,6 @@
#define HAVE_VSNPRINTF 0
#define HAVE_SNPRINTF 0
#define HAVE_VSPRINTF 1
/*
* String functions...
@@ -176,5 +175,5 @@
/*
* End of "$Id: config.h,v 1.1.2.1 2002/03/25 18:31:30 easysw Exp $".
* End of "$Id: config.h,v 1.1.2.2 2002/05/16 12:47:42 easysw Exp $".
*/