}
while ((i = read (fd, buffer, sizeof(buffer))) > 0) {
+ /* valgrind noticed that stringdex depends on null
+ termination. */
+ buffer[i] = '\0';
+
for (j = 0;
(j = stringdex (mmdlm1, buffer)) >= 0;
buffer[j]++)
clear = 1;
if (!clear && map_chk (file, fd, &d1, pos, noisy)) {
- unlink (file);
+ (void) m_unlink (file);
mbx_close (file, fd);
if ((fd = map_open (file, md)) == NOTOK)
return NOTOK;