Commit 72d250d
committed
shopt: don't copy option names for get_shopt_options()
This makes the option name handling match get_minus_o_opts() in the
`set` builtin and is what the the only usage for get_shopt_options() in
pcomplete.c expects as it explicitly doesn't free the list members the
same as it does for the set options list.1 parent 1b4b9d2 commit 72d250d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
777 | 777 | | |
778 | 778 | | |
779 | 779 | | |
780 | | - | |
| 780 | + | |
781 | 781 | | |
782 | 782 | | |
783 | 783 | | |
| |||
0 commit comments