Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142035685
D46247.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
508 B
Referenced Files
None
Subscribers
None
D46247.id.diff
View Options
diff --git a/sys/contrib/openzfs/lib/libshare/os/freebsd/nfs.c.sav b/sys/contrib/openzfs/lib/libshare/os/freebsd/nfs.c
--- a/sys/contrib/openzfs/lib/libshare/os/freebsd/nfs.c.sav
+++ b/sys/contrib/openzfs/lib/libshare/os/freebsd/nfs.c
@@ -93,7 +93,9 @@
return (EOF);
newopts[0] = '\0';
s = oldopts;
- while ((o = strsep(&s, "-, ")) != NULL) {
+ while ((o = strsep(&s, ", ")) != NULL) {
+ if (o[0] == '-')
+ o++;
if (o[0] == '\0')
continue;
for (i = 0; i < ARRAY_SIZE(known_opts); ++i) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 16, 6:16 AM (4 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27658877
Default Alt Text
D46247.id.diff (508 B)
Attached To
Mode
D46247: Fix the ZFS sharenfs property for DNS names with '-'s in them
Attached
Detach File
Event Timeline
Log In to Comment