diff options
author | Brian Harring <ferringb@gentoo.org> | 2004-11-20 15:02:02 +0000 |
---|---|---|
committer | Brian Harring <ferringb@gentoo.org> | 2004-11-20 15:02:02 +0000 |
commit | b8ffb6bd6aa8feef69b6c9c3cfc396e3c1af3749 (patch) | |
tree | 1a9eb2cbcec097101ac44eafc861d70886afcb6a /src | |
parent | Added qualifiers to bmh_search parameters and return type. Slightly (diff) | |
download | portage-cvs-b8ffb6bd6aa8feef69b6c9c3cfc396e3c1af3749.tar.gz portage-cvs-b8ffb6bd6aa8feef69b6c9c3cfc396e3c1af3749.tar.bz2 portage-cvs-b8ffb6bd6aa8feef69b6c9c3cfc396e3c1af3749.zip |
null termination bug.
Diffstat (limited to 'src')
-rw-r--r-- | src/filter-env/posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filter-env/posix.c b/src/filter-env/posix.c index 16749a3..f3a1373 100644 --- a/src/filter-env/posix.c +++ b/src/filter-env/posix.c @@ -148,8 +148,8 @@ main(int argc, char *const *argv) exit(MEM_FAIL); } } - file_buff[file_size] = '\0'; } + file_buff[file_size] = '\0'; close(fd); init_regexes(); |