=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rcs/ci.c,v retrieving revision 1.122 retrieving revision 1.123 diff -u -r1.122 -r1.123 --- src/usr.bin/rcs/ci.c 2006/03/17 07:32:03 1.122 +++ src/usr.bin/rcs/ci.c 2006/03/20 16:18:13 1.123 @@ -1,4 +1,4 @@ -/* $OpenBSD: ci.c,v 1.122 2006/03/17 07:32:03 ray Exp $ */ +/* $OpenBSD: ci.c,v 1.123 2006/03/20 16:18:13 niallo Exp $ */ /* * Copyright (c) 2005, 2006 Niall O'Higgins * All rights reserved. @@ -323,8 +323,7 @@ strlcpy(path1, rcs_tmpdir, sizeof(path1)); strlcat(path1, "/diff1.XXXXXXXXXX", sizeof(path1)); - if (cvs_buf_write_stmp(b1, path1, 0600) == -1) - goto out; + cvs_buf_write_stmp(b1, path1, 0600); cvs_worklist_add(path1, &rcs_temp_files); cvs_buf_free(b1); @@ -332,8 +331,7 @@ strlcpy(path2, rcs_tmpdir, sizeof(path2)); strlcat(path2, "/diff2.XXXXXXXXXX", sizeof(path2)); - if (cvs_buf_write_stmp(b2, path2, 0600) == -1) - goto out; + cvs_buf_write_stmp(b2, path2, 0600); cvs_worklist_add(path2, &rcs_temp_files); cvs_buf_free(b2);