diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-07-23 11:23:36 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-07-23 11:23:36 +0000 |
commit | 1f020b178664857b0e107778d04fb971a58e6230 (patch) | |
tree | c1cd86593b5d354091e0fa3201c5789bec5c53ad /libc/misc/wordexp | |
parent | f1775381f91f1250b20f1949dfd0364ddb0ee9fc (diff) |
- trim any trailing whitespace
Diffstat (limited to 'libc/misc/wordexp')
-rw-r--r-- | libc/misc/wordexp/wordexp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/wordexp/wordexp.c b/libc/misc/wordexp/wordexp.c index 34c86aec5..145c24c79 100644 --- a/libc/misc/wordexp/wordexp.c +++ b/libc/misc/wordexp/wordexp.c @@ -325,8 +325,8 @@ parse_tilde(char **word, size_t * word_length, size_t * max_length, uid = getuid(); buffer = alloca(buflen); - while ((result = getpwuid_r(uid, &pwd, buffer, buflen, &tpwd)) - != 0 && errno == ERANGE) + while ((result = getpwuid_r(uid, &pwd, buffer, buflen, &tpwd)) + != 0 && errno == ERANGE) { buflen += 1000; buffer = alloca(buflen); |