| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
get rid of LONG_LONG format specifier and inline
it instead
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
https://github.com/devzero2000/POPT/pull/2
"Work around missing format for long long in windows; fix warnings"
by asenm (Matt Arsenault)
|
|
|
|
|
|
| |
https://github.com/devzero2000/POPT/pull/2
"Fix build with MinGW 32/64 + MSVC" by arsenm
(Matt Arsenault)
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Merge 7581f1dfcd792dbcfad4ea51b3d2abcf8432e786
from Matt Arsenault <arsenm2@rpi.edu>
git://github.com/arsenm/POPT.git master branch
|
|
|
|
|
|
| |
Merge 0613daf76688bb5f06c348a1f8c5470d5a4b63a8
from Matt Arsenault <arsenm2@rpi.edu>
git://github.com/arsenm/POPT.git master branch
|
|
|
|
|
|
|
|
|
| |
- 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: 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: add __attribute__(__unused__) (Wayne Davidson<wayned@samba.org>).
- jbj: permit equal after short option (Wayne Davidson<wayned@samba.org>).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
pre-processor defines
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- remove dependency whiteout.
- splint fiddles.
|
| |
|
| |
|
|
|