add missing long option for -r in mountd
Subsystems (2)
PATCH 1/1 add missing long option for -r in mountd
I forgot a bit of code that needs to go into patch 3 that I posted yesterday. This adds a long option for the -r option. I'll post manpage update patches once I get them written up.
utils/mountd/mountd.c renamed from utils/mountd/mountd.c.longopt +1 -0
@@ -67,6 +67,7 @@ static struct option longopts[] = { "ha-callout", 1, 0, 'H' }, { "state-directory-path", 1, 0, 's' }, { "num-threads", 1, 0, 't' }, + { "reverse-lookup", 0, 0, 'r' }, { NULL, 0, 0, 0 } };
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 5 lines · On Tuesday December 19, [email protected] wrote:
I forgot a bit of code that needs to go into patch 3 that I posted yesterday. This adds a long option for the -r option. I'll post manpage update patches once I get them written up.
Signed-off-by Jeff Layton <[email protected]>
Thanks.
utils/mountd/mountd.c static struct option longopts[] = · line 72
Quoted 10 lines
utils/mountd/mountd.c renamed from utils/mountd/mountd.c.longopt +1
-0@@ -67,6 +67,7 @@ static struct option longopts[] = { "ha-callout", 1, 0, 'H' }, { "state-directory-path", 1, 0, 's' }, { "num-threads", 1, 0, 't' }, + { "reverse-lookup", 0, 0, 'r' }, { NULL, 0, 0, 0 } };
Your patches have some odd white-space damage. The lines that are unchanged should start with one space, then a tab, but they actually start with two spaces, so 'patch' cannot cope at all. Fortunately 'wiggle' gets it close enough that it is easy to fix by hand, but it would be nice if you could figure out what is happening.
Thanks,
NeilBrown
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs