4 Commits

Author SHA1 Message Date
Szabolcs Nagy
c3a43b35cc add missing va_end in execl* for correcness and static code analyzers 2013-10-07 13:24:00 +00:00
Rich Felker
2b2aff37ac fix new environment always being null with execle
the va_arg call for the argv[]-terminating null pointer was missing,
so this pointer was being wrongly used as the environment pointer.

issue reported by Timo Teräs. proposed patch slightly modified to
simplify the resulting code.
2013-10-03 10:16:01 -04:00
Rich Felker
e6bac87d0e correct variadic prototypes for execl* family
the old versions worked, but conflicted with programs which declared
their own prototypes and generated warnings with some versions of gcc.
2011-04-27 16:06:33 -04:00
Rich Felker
0b44a0315b initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00