On 01/21/2011 11:33 PM, Bruno Haible wrote: > Is it intentional that you replaced the #include <getopt.h> with > #include <unistd.h>? > ... > Is it because of the BSD manual pages [1]?
Yes, I figured that I should have the test rely on the documented BSD interface rather than the undocumented one. I didn't realize that the test would work just as well with <getopt.h>, but if it makes no difference in practice, then it's a bit better to stick to the documented interface.