-/* $Id: mdocml.c,v 1.14 2008/11/28 11:21:12 kristaps Exp $ */
+/* $Id: mdocml.c,v 1.15 2008/12/02 00:10:37 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
warn("%s", out->name);
c = 1;
}
+ if (1 == c && STDOUT_FILENO != out->fd)
+ if (-1 == unlink(out->name))
+ warn("%s", out->name);
return(c);
}