bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] Argpifying ping.


From: Barry deFreese
Subject: Re: [bug-inetutils] Argpifying ping.
Date: Tue, 27 Mar 2007 17:35:45 -0400
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

Debarshi 'Rishi' Ray wrote:
I have been trying to replace getopt with argp in ping.c. Since I am
new to both inetutils and argp, I am curious to know whether I am
proceeding in the right direction or not.

Please find attached a 'diff -uNp' of ping.c showing what I have done
till now. This is not yet finished.

Happy hacking,
Debarshi

Rishi,

Looks good to me, so far. The only thing I would wonder about is taking out the program_name = argv[0]; line. For ping, it may not be a big deal but in ftp it passes that to several other functions.


Thanks,

Barry (aka bddebian)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]