4 Commits (68bae9c7b121e30114f6b0cabe15da3fae46e673)

Author SHA1 Message Date
Lucas Gabriel Vuotto 4fdba860c8 arg.h: fixed argv checks order
This prevents accessing to a potentially out-of-bounds memory section.

Signed-off-by: Lucas Gabriel Vuotto <l.vuotto92@gmail.com>
Signed-off-by: Christoph Lohmann <20h@r-36.net>
9 years ago
Quentin Rameau d836561b96 arg.h: remove unused macros
ARGUM isn't used and ARGNUMF uses estrtol() that isn't defined anywhere.
Those were probably copied from sbase arg.h.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
9 years ago
Roberto E. Vargas Caballero 33da67dac0 Update arg.h from sbase
sbase did some interesting modifications to arg.h (basically it
was fixed an incorrect use of the _ namespace), and this commit
take this last version for st.
11 years ago
Christoph Lohmann b1813b14d9 Adopting arg.h with more flexible cmd handling. 12 years ago