diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-09-28 16:36:30 -0400 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-09-29 07:58:56 +1000 |
commit | af5939d15a41b337cc499a04fe4001a5cd51fdce (patch) | |
tree | d051dd854e4de351288d1d9f6fe752b1509ac68a /support | |
parent | 7a042b78ba064a36d1c7de797d2af796212fca2e (diff) | |
download | nfs-utils-af5939d15a41b337cc499a04fe4001a5cd51fdce.tar.gz nfs-utils-af5939d15a41b337cc499a04fe4001a5cd51fdce.tar.xz nfs-utils-af5939d15a41b337cc499a04fe4001a5cd51fdce.zip |
mount.nfs: add new string tokenizer facility
To quote the strtok(3) man page: "Avoid using these functions."
OK. We've created our own. The main reason for this is that strtok(3)
doesn't handle quoted delimiters at all. We need to handle this:
context="foo,bar"
where 'context' is a single mount option that sets a token string that
possibly uses the same delimiter that the mount command uses to separate
options (that is, a comma).
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'support')
0 files changed, 0 insertions, 0 deletions