diff options
| author | Roy Marples <roy@marples.name> | 2016-11-08 23:03:28 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-11-08 23:03:28 +0000 |
| commit | c7c282d9f7bd63b27e140769a8212d005a6893f7 (patch) | |
| tree | d3092430c55cd6641d5f7374d559d7749037a015 | |
| parent | a6c6cb1f4ece0ac672b226f46e45d57d10e95e7a (diff) | |
| download | dhcpcd-c7c282d9f7bd63b27e140769a8212d005a6893f7.tar.xz | |
Do somewith with getline result in configure to make it pass.
| -rwxr-xr-x | configure | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -738,8 +738,7 @@ if [ -z "$GETLINE" ]; then int main(void) { char *buf = NULL; size_t n = 0; - getline(&buf, &n, stdin); - return 0; + return getline(&buf, &n, stdin) == -1 ? -1 : 0; } EOF if $XCC _getline.c -o _getline 2>&3; then |
