summaryrefslogtreecommitdiff
path: root/system.h
Commit message (Collapse)AuthorAgeFilesLines
* - fix: add missing #endifjbj2013-07-021-0/+1
|
* check secure_getenv for glibc 2.17devzero20002013-07-021-1/+6
| | | | | | | | | | Use secure_getenv if it is available. Fall back to __secure_getenv if it is not. In glibc 2.17, __secure_getenv was renamed to secure_getenv. So check also for it. Reference: http://sourceware.org/glibc/wiki/Tips_and_Tricks/secure_getenv http://marc.info/?t=134192618500001&r=1&w=2
* redo commit 8396019 againrpm-5_4_3-releasedevzero20002011-09-051-5/+0
| | | | | get rid of LONG_LONG format specifier and inline it instead
* devzero2000: merge commit fc8836e from git pull requestdevzero20002011-09-051-2/+11
| | | | | | | https://github.com/devzero2000/POPT/pull/2 "Fix more MSVC build warnings" by asenm (Matt Arsenault). This is the last commit of this patch series and pull request.
* merge commit 8396019 from git pull requestdevzero20002011-09-051-11/+22
| | | | | | https://github.com/devzero2000/POPT/pull/2 "Work around missing format for long long in windows; fix warnings" by asenm (Matt Arsenault)
* merge commit ea2978d from git pull requestdevzero20002011-09-051-8/+12
| | | | | | https://github.com/devzero2000/POPT/pull/2 "Fix build with MinGW 32/64 + MSVC" by arsenm (Matt Arsenault)
* Rewrite the logic in poptReadDefaultConfig fordevzero20002011-04-141-0/+3
| | | | | | | | | | finding the popt alias file Introduce in Makefile.am an automatically generated configmake.h for setting the gnu standard directory and include it in system.h. So it is possible to semplify poptReadDefaultConfig a bit.
* Put all the ifdef _MSC_VER in one place. Keep the inline function for nowdevzero20002010-11-291-19/+8
|
* rewrite FLT_MIN, FLT_MAX msdn hack workround in a less confusing waydevzero20002010-11-291-0/+7
|
* use C-style comment not C++devzero20002010-11-291-1/+1
|
* Get built with MSVC, though tests are failingdevzero20002010-11-291-30/+72
| | | | | | Merge 7581f1dfcd792dbcfad4ea51b3d2abcf8432e786 from Matt Arsenault <arsenm2@rpi.edu> git://github.com/arsenm/POPT.git master branch
* Start of fixes to get build with MSVCdevzero20002010-11-291-1/+36
| | | | | | Merge 0613daf76688bb5f06c348a1f8c5470d5a4b63a8 from Matt Arsenault <arsenm2@rpi.edu> git://github.com/arsenm/POPT.git master branch
* A bunch of minor fixdevzero20002010-06-291-0/+14
| | | | | | | | | - redo configure.ac and Makefile.am with different auto, probably to refine the ugly check command with some m4 macro. - add LINGUAS in favor of ALL_LINGUAS in autogen.sh and Makefile.am - fixup aix portability issue with alloca(system.h and configure.ac) and native compiler : make check work also - keep make dist and distcheck working
* - jbj: splint (3.1.2) fiddles.jbj2008-12-181-1/+1
|
* - jbj: study the mess with splint, remove annotations where possible.jbj2008-03-091-1/+14
| | | | | | | | - jbj: add -D_GNU_SOURCE for gcc to use __builtin_stpcpy when available. - jbj: add static inline stpcpy for the deprived. - jbj: use stpcpy to eliminate sprintf calls everywhere but popthelp.c - jbj: remove (now unneeded afaik) va_copy() from POPT_fprintf(). - jbj: inline strdup_fprintf() => POPT_fprintf keeping (unneeded?) va_copy.
* - jbj: test for <glob.h>, disable reading directory poptrc files if not.jbj2008-03-081-0/+5
| | | | | - jbj: add __attribute__(__unused__) (Wayne Davidson<wayned@samba.org>). - jbj: permit equal after short option (Wayne Davidson<wayned@samba.org>).
* - jbj: rescuscitate the splint annotations.jbj2007-11-041-2/+25
|
* - jbj: handle Solaris signed character isspace(3) issues consistently.jbj2007-11-031-0/+3
|
* POPT still used alloca(3), a usually machine-, compiler-, andrse2007-06-141-26/+0
| | | | | | | | | | | system-dependent and especially non-POSIX (and hence less portable) function whose use is even discouraged on lots of Unix platforms. This IMHO is unnecessarily unportable for a reusable library like POPT. So, for maximum portability, replace all uses of alloca(3) with either standard POSIX malloc(3) and calloc(3) calls, by plain stack based variable declarations or by entirely avoiding the need for an extra buffer (as in the use of the internal findOption() function).
* fix more incorrect or at least unclean usages of Autoconf HAVE_XXX ↵rse2007-06-141-6/+6
| | | | pre-processor defines
* Bring in rpm.org changes to HEAD.jbj2007-05-251-0/+4
|
* Merge changes from rpm-4.2.1 development.jbj2003-11-231-2/+4
|
* splint fiddles.jbj2003-04-301-3/+6
|
* Factor bounds checking annotations into source code.jbj2002-06-221-0/+10
|
* - missing key(s) on keyring when verifying a signature is now an error.jbj2002-01-181-3/+12
| | | | | - remove dependency whiteout. - splint fiddles.
* lclint fiddles.jbj2001-06-041-1/+1
|
* - enough lclint annotations and fiddles already.jbj2001-05-051-0/+2
|
* Add !#:+ token parsing to retrieve (and delete) next argument from list.jbj1999-10-251-0/+55