diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-12-31 20:51:11 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-12-31 20:51:11 +0200 |
commit | a89bd16ff78c74513461af3f676d87d4eb9cfd3c (patch) | |
tree | 25977f27d837e3713b52e056f533bcbaba8a4597 /builtin.c | |
parent | a32faf6354086864b55755c968f72a90e7e8f0d1 (diff) | |
download | egawk-a89bd16ff78c74513461af3f676d87d4eb9cfd3c.tar.gz egawk-a89bd16ff78c74513461af3f676d87d4eb9cfd3c.tar.bz2 egawk-a89bd16ff78c74513461af3f676d87d4eb9cfd3c.zip |
Remove ancient STREQ, STREQN macros.
Diffstat (limited to 'builtin.c')
-rw-r--r-- | builtin.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -154,9 +154,9 @@ static FILE * stdfile(const char *name, size_t len) { if (len == 11) { - if (STREQN(name, "/dev/stderr", 11)) + if (strncmp(name, "/dev/stderr", 11) == 0) return stderr; - else if (STREQN(name, "/dev/stdout", 11)) + else if (strncmp(name, "/dev/stdout", 11) == 0) return stdout; } |