commit | 3ba0a289a8c77bc5f103520d8227c0f6695702fb | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Mon Jan 01 11:24:48 2018 -0600 |
committer | Rob Landley <rob@landley.net> | Mon Jan 01 11:24:48 2018 -0600 |
tree | 7cc76b2c669ffc1c740945b3584603304f0e1723 | |
parent | 736afbadbffcb66fc8b589b35526e7eac5048b68 [diff] |
xphung on github said: "config2help currently doesn't work on OS X, it terminates parsing of Config.in at first blank line. This is because getdelim() in portability.c returns -1 whenever the line comprises only a single linefeed character. Fixing this was a trivial change to two lines (see below), and config2help now works on OS X but I haven't regression tested this on any other commands which rely on getdelim()"