From a45d21f4fc566092d84d8840f9b6852456406393 Mon Sep 17 00:00:00 2001 From: Lauri Tirkkonen Date: Sun, 6 Jan 2019 02:13:06 +0200 Subject: [PATCH] confstr(3): remove LFS stuff --- share/man/man1/getconf.1 | 7 +-- share/man/man3c/confstr.3c | 104 ------------------------------------ usr/src/lib/libc/port/gen/confstr.c | 8 --- 3 files changed, 2 insertions(+), 117 deletions(-) diff --git a/share/man/man1/getconf.1 b/share/man/man1/getconf.1 index 30b0127795..e7c21d70b3 100644 --- a/share/man/man1/getconf.1 +++ b/share/man/man1/getconf.1 @@ -448,11 +448,8 @@ CHAR_MIN CHILD_MAX CLK_TCK COLL_WEIGHTS_MAX CS_PATH EXPR_NEST_MAX HOST_NAME_MAX INT_MAX -INT_MIN LFS64_CFLAGS -LFS64_LDFLAGS LFS64_LIBS -LFS64_LINTFLAGS LFS_CFLAGS -LFS_LDFLAGS LFS_LIBS -LFS_LINTFLAGS LINE_MAX +INT_MIN +LINE_MAX LONG_BIT LONG_MAX LONG_MIN MB_LEN_MAX NGROUPS_MAX NL_ARGMAX diff --git a/share/man/man3c/confstr.3c b/share/man/man3c/confstr.3c index 06d5ad93ae..002c0c5f2a 100644 --- a/share/man/man3c/confstr.3c +++ b/share/man/man3c/confstr.3c @@ -84,110 +84,6 @@ defined in \fB\fR, for both SPARC and x86: .sp .ne 2 .na -\fB\fB_CS_LFS64_CFLAGS\fR\fR -.ad -.sp .6 -.RS 4n -If \fB_LFS64_LARGEFILE\fR is defined in \fB\fR, this value is the set -of initial options to be given to the \fBcc\fR and \fBc89\fR utilities to build -an application using the Large File Summit transitional compilation environment -(see \fBlfcompile64\fR(5)). -.RE - -.sp -.ne 2 -.na -\fB\fB_CS_LFS64_LDFLAGS\fR\fR -.ad -.sp .6 -.RS 4n -If \fB_LFS64_LARGEFILE\fR is defined in \fB\fR, this value is the set -of final options to be given to the \fBcc\fR and \fBc89\fR utilities to build -an application using the Large File Summit transitional compilation environment -(see \fBlfcompile64\fR(5)). -.RE - -.sp -.ne 2 -.na -\fB\fB_CS_LFS64_LIBS\fR\fR -.ad -.sp .6 -.RS 4n -If \fB_LFS64_LARGEFILE\fR is defined in \fB\fR, this value is the set -of libraries to be given to the \fBcc\fR and \fBc89\fR utilities to build an -application using the Large File Summit transitional compilation environment -(see \fBlfcompile64\fR(5)). -.RE - -.sp -.ne 2 -.na -\fB\fB_CS_LFS64_LINTFLAGS\fR\fR -.ad -.sp .6 -.RS 4n -If \fB_LFS64_LARGEFILE\fR is defined in \fB\fR, this value is the set -of options to be given to the \fBlint\fR utility to check application source -using the Large File Summit transitional compilation environment (see -\fBlfcompile64\fR(5)). -.RE - -.sp -.ne 2 -.na -\fB\fB_CS_LFS_CFLAGS\fR\fR -.ad -.sp .6 -.RS 4n -If \fB_LFS_LARGEFILE\fR is defined in \fB\fR, this value is the set -of initial options to be given to the \fBcc\fR and \fBc89\fR utilities to build -an application using the Large File Summit large file compilation environment -for 32-bit applications (see \fBlfcompile\fR(5)). -.RE - -.sp -.ne 2 -.na -\fB\fB_CS_LFS_LDFLAGS\fR\fR -.ad -.sp .6 -.RS 4n -If \fB_LFS_LARGEFILE\fR is defined in \fB\fR, this value is the set -of final options to be given to the \fBcc\fR and \fBc89\fR utilities to build -an application using the Large File Summit large file compilation environment -for 32-bit applications (see \fBlfcompile\fR(5)). -.RE - -.sp -.ne 2 -.na -\fB\fB_CS_LFS_LIBS\fR\fR -.ad -.sp .6 -.RS 4n -If \fB_LFS_LARGEFILE\fR is defined in \fB\fR, this value is the set -of libraries to be given to the \fBcc\fR and \fBc89\fR utilities to build an -application using the Large File Summit large file compilation environment for -32-bit applications (see \fBlfcompile\fR(5)). -.RE - -.sp -.ne 2 -.na -\fB\fB_CS_LFS_LINTFLAGS\fR\fR -.ad -.sp .6 -.RS 4n -If \fB_LFS_LARGEFILE\fR is defined in \fB\fR, this value is the set -of options to be given to the \fBlint\fR utility to check application source -using the Large File Summit large file compilation environment for 32-bit -applications (see \fBlfcompile\fR(5)). -.RE - -.sp -.ne 2 -.na \fB\fB_CS_PATH\fR\fR .ad .sp .6 diff --git a/usr/src/lib/libc/port/gen/confstr.c b/usr/src/lib/libc/port/gen/confstr.c index 10514e0ae9..e3a313e32f 100644 --- a/usr/src/lib/libc/port/gen/confstr.c +++ b/usr/src/lib/libc/port/gen/confstr.c @@ -44,14 +44,6 @@ typedef struct { * keep these in the same order as in sys/unistd.h */ static const config default_conf[] = { - { _CS_LFS_CFLAGS, "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" }, - { _CS_LFS_LDFLAGS, "" }, - { _CS_LFS_LIBS, "" }, - { _CS_LFS_LINTFLAGS, "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" }, - { _CS_LFS64_CFLAGS, "-D_LARGEFILE64_SOURCE" }, - { _CS_LFS64_LDFLAGS, "" }, - { _CS_LFS64_LIBS, "" }, - { _CS_LFS64_LINTFLAGS, "-D_LARGEFILE64_SOURCE" }, { _CS_XBS5_ILP32_OFF32_CFLAGS, "" }, { _CS_XBS5_ILP32_OFF32_LDFLAGS, "" }, { _CS_XBS5_ILP32_OFF32_LIBS, "" }, -- 2.11.4.GIT