Fix attempt to parse trailing junk on a line as a valid option, by checking for characters we know will be in any valid options string.
modified libpkg/pkg_ports.c
@@ -392,7 +392,7 @@ setgroup(struct plist *p, char *line, struct file_attr *a)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -409,13 +409,14 @@ comment_key(struct plist *p, char *line, struct file_attr *a)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|