diff options
author | 2007-01-07 18:40:55 +0000 | |
---|---|---|
committer | 2007-01-07 18:40:55 +0000 | |
commit | 64f70df8d0a5515df48f0828a3e869fc6f5fb788 (patch) | |
tree | aef2a64c71d329c2c34df9ab9cc242ee223f6e2d | |
parent | fcu fans are PWM, express as %; from murenin (diff) | |
download | wireguard-openbsd-64f70df8d0a5515df48f0828a3e869fc6f5fb788.tar.xz wireguard-openbsd-64f70df8d0a5515df48f0828a3e869fc6f5fb788.zip |
add the temporary file we create to the temp_files worklist
-rw-r--r-- | usr.bin/cvs/logmsg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/cvs/logmsg.c b/usr.bin/cvs/logmsg.c index 03e2e5796fc..a0413d9dbf8 100644 --- a/usr.bin/cvs/logmsg.c +++ b/usr.bin/cvs/logmsg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: logmsg.c,v 1.32 2007/01/07 13:33:04 jasper Exp $ */ +/* $OpenBSD: logmsg.c,v 1.33 2007/01/07 18:40:55 joris Exp $ */ /* * Copyright (c) 2007 Joris Vink <joris@openbsd.org> * @@ -104,6 +104,8 @@ cvs_logmsg_create(struct cvs_flisthead *added, struct cvs_flisthead *removed, if ((fd = mkstemp(fpath)) == NULL) fatal("cvs_logmsg_create: mkstemp %s", strerror(errno)); + cvs_worklist_add(fpath, &temp_files); + if ((fp = fdopen(fd, "w")) == NULL) { (void)unlink(fpath); fatal("cvs_logmsg_create: fdopen %s", strerror(errno)); |