Bug#313175: test case for failing argp
Drew Parsons a écrit :
Attached is a minimal test case showing the problem.
Compile with "gcc -o minargp minargp.c",
run with somthing like "./minargp -r 15"
argument value for -r = (null)
repeat count has been set to 10
argument value for -r = 15
repeat count has been set to 15
Why is the argument value empty?
Using "./minargp -r15" is working, but the documentation explicitly
states that a space is allowed between the argument and the value. So it
looks like a bug in the glibc. I will try to have a look when I find time.
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' firstname.lastname@example.org | email@example.com
`- people.debian.org/~aurel32 | www.aurel32.net