[request-sponsor] Fix for bug-6440628

2008-01-29 Thread Abhilash
Sir, I Abhilash T.G and Arjun Asok of Amrita University Abhilash oso183 and Arjun oso211 have a fix for the bug 6440628 . we are attaching the diff. the synopsis is A student in my class today made a typo like this: # ipseckey -f /etc/inet/secret ipseckeys ipseckey: Unknown command (?).

[request-sponsor] Fix for bug-6440628

2008-01-29 Thread Ceri Davies
On Tue, Jan 29, 2008 at 12:16:12PM +0530, Abhilash wrote: Sir, I Abhilash T.G and Arjun Asok of Amrita University Abhilash oso183 and Arjun oso211 have a fix for the bug 6440628 . we are attaching the diff. Hmm. I am about to sound quite negative, but I aim to help; please don't be

[request-sponsor] Fix for bug-6440628

2008-01-29 Thread James Carlson
Ceri Davies writes: - cmd = parsecmd(*argv++); + if (fopen(*(argv+1)){ [...] Finally, this check should take place during argument parsing in main(). More comments: - Why *(argv+1)? What's wrong with the equivalent but clearer argv[1]? - Won't this change -- if it could be