Commit 35025a9
Simon Wollwage
lib/libc: fix bug in parsing in getopt
getopt had an issue when parsing optional arguments if
they had a space between the opion and its value.
Signed-off-by: Simon Wollwage <[email protected]>
PR: 2913741 parent 3f10e59 commit 35025a9
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
| |||
0 commit comments