/*
* Utility routines.
*
- * Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org>
+ * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
total = 0;
while (len > 0) {
- cc = write(fd, buf, len);
+ cc = safe_write(fd, buf, len);
if (cc < 0)
return cc; /* write() returns -1 on failure. */