aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2004-11-20 15:02:02 +0000
committerBrian Harring <ferringb@gentoo.org>2004-11-20 15:02:02 +0000
commitb8ffb6bd6aa8feef69b6c9c3cfc396e3c1af3749 (patch)
tree1a9eb2cbcec097101ac44eafc861d70886afcb6a /src
parentAdded qualifiers to bmh_search parameters and return type. Slightly (diff)
downloadportage-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.c2
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();