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)


_______________________________________________
bug-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils

Reply via email to