OSDN Git Service

xphung on github said: "config2help currently doesn't work on OS X, it
authorRob Landley <rob@landley.net>
Mon, 1 Jan 2018 17:24:48 +0000 (11:24 -0600)
committerRob Landley <rob@landley.net>
Mon, 1 Jan 2018 17:24:48 +0000 (11:24 -0600)
commit3ba0a289a8c77bc5f103520d8227c0f6695702fb
tree7cc76b2c669ffc1c740945b3584603304f0e1723
parent736afbadbffcb66fc8b589b35526e7eac5048b68
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()"
lib/portability.c