mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 11:14:18 +01:00
2c7da872aa
POSIX basename() and dirname() are allowed to overwrite the input buffer. The advantage of implementing it that way is that the functions can be thread-safe, as they don't store the result in a global buffer. It looks like ATF wants to call basename() and dirname() in the non-standard way where the argument is of type "const char *". This change disables the calls to basename() and dirname(), which only seems to affect the formatting of some rare debug/error messages. Reviewed by: ngie Differential Revision: https://reviews.freebsd.org/D6627
93 lines
2.7 KiB
C
93 lines
2.7 KiB
C
/* config.h. Generated from config.h.in by configure. */
|
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
|
|
|
/* Define to 1 if basename takes a constant pointer */
|
|
/* #undef HAVE_CONST_BASENAME */
|
|
|
|
/* Define to 1 if dirname takes a constant pointer */
|
|
/* #undef HAVE_CONST_DIRNAME */
|
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
#define HAVE_DLFCN_H 1
|
|
|
|
/* Define to 1 if getcwd(NULL, 0) works */
|
|
#define HAVE_GETCWD_DYN 1
|
|
|
|
/* Define to 1 if getopt allows a + sign for POSIX behavior */
|
|
/* #undef HAVE_GNU_GETOPT */
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#define HAVE_INTTYPES_H 1
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#define HAVE_MEMORY_H 1
|
|
|
|
/* Define to 1 if getopt has optreset */
|
|
#define HAVE_OPTRESET 1
|
|
|
|
/* Define to 1 if you have the `putenv' function. */
|
|
#define HAVE_PUTENV 1
|
|
|
|
/* Define to 1 if you have the `setenv' function. */
|
|
#define HAVE_SETENV 1
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#define HAVE_STDINT_H 1
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#define HAVE_STDLIB_H 1
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#define HAVE_STRINGS_H 1
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#define HAVE_STRING_H 1
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#define HAVE_SYS_STAT_H 1
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#define HAVE_SYS_TYPES_H 1
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#define HAVE_UNISTD_H 1
|
|
|
|
/* Define to 1 if you have the `unsetenv' function. */
|
|
#define HAVE_UNSETENV 1
|
|
|
|
/* Define to 1 if vsnprintf is in std */
|
|
/* #undef HAVE_VSNPRINTF_IN_STD */
|
|
|
|
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
|
#define LT_OBJDIR ".libs/"
|
|
|
|
/* Name of package */
|
|
#define PACKAGE "atf"
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#define PACKAGE_BUGREPORT "atf-discuss@googlegroups.com"
|
|
|
|
/* Define to the copyright string applicable to this package. */
|
|
#define PACKAGE_COPYRIGHT "Copyright (c) 2007-2012 The NetBSD Foundation, Inc."
|
|
|
|
/* Define to the full name of this package. */
|
|
#define PACKAGE_NAME "Automated Testing Framework"
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#define PACKAGE_STRING "Automated Testing Framework 0.21"
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#define PACKAGE_TARNAME "atf"
|
|
|
|
/* Define to the home page for this package. */
|
|
#define PACKAGE_URL "https://github.com/jmmv/atf/"
|
|
|
|
/* Define to the version of this package. */
|
|
#define PACKAGE_VERSION "0.21"
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
#define STDC_HEADERS 1
|
|
|
|
/* Version number of package */
|
|
#define VERSION "0.21"
|