summaryrefslogtreecommitdiff
path: root/utils/getconf.c
AgeCommit message (Collapse)Author
2015-06-10getconf.c: undef VERSIONBernhard Reutner-Fischer
might come in via nptl so undef it before redefining it Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-11-18Replace FSF snail mail address with URLsMike Frysinger
This matches a similar change made to glibc. No functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-10-31utils: Fix missing semicolonBernhard Reutner-Fischer
Thanks to Manuel Rüger for spotting this one. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15make UCLIBC_HAS_PROGRAM_INVOCATION_NAME and UCLIBC_HAS___PROGNAME ↵Peter S. Mazinger
independent options Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15getconf.c: fix noreturn warningsPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-04-22getconf: include a newline in error messagesMike Frysinger
The normal error() func implicitly appends a newline, so make sure we do the same. Otherwise getconf outputs an error message like so: prompt$ getconf -h Unrecognized variable `-h'prompt$ Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-03-03disable build warnings in utilsPeter S. Mazinger
Disable some build warnings in utils. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2010-12-08getconf: only use specs that are availableThomas Petazzoni
On older glibc (like 2.7), the _SC_V7_* symbols are not defined, making the build of current uClibc fail on Debian Lenny systems and other systems using a fairly old glibc. So we make sure to only use the specs names that are defined by the host C library. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-04-06getconf: move to utils/Bernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>