/*
- * $Id: store_dir_aufs.cc,v 1.39 2001/10/24 07:45:37 hno Exp $
+ * $Id: store_dir_aufs.cc,v 1.40 2001/11/13 18:11:19 hno Exp $
*
* DEBUG: section 47 Store Directory Routines
* AUTHOR: Duane Wessels
state->outbuf = xcalloc(CLEAN_BUF_SZ, 1);
state->outbuf_offset = 0;
state->walker = sd->repl->WalkInit(sd->repl);
-#if !(defined(_SQUID_OS2_) || defined (_SQUID_CYGWIN_))
- unlink(state->new);
-#endif
unlink(state->cln);
debug(20, 3) ("storeDirWriteCleanLogs: opened %s, FD %d\n",
state->new, state->fd);
/*
- * $Id: store_dir_coss.cc,v 1.29 2001/08/16 00:16:20 hno Exp $
+ * $Id: store_dir_coss.cc,v 1.30 2001/11/13 18:11:20 hno Exp $
*
* DEBUG: section 81 Store COSS Directory Routines
* AUTHOR: Eric Stern
state->cln = xstrdup(storeCossDirSwapLogFile(sd, ".last-clean"));
state->outbuf = xcalloc(CLEAN_BUF_SZ, 1);
state->outbuf_offset = 0;
- unlink(state->new);
unlink(state->cln);
state->current = cs->index.tail;
debug(20, 3) ("storeCOssDirWriteCleanLogs: opened %s, FD %d\n",
/*
- * $Id: store_dir_diskd.cc,v 1.57 2001/10/24 07:45:38 hno Exp $
+ * $Id: store_dir_diskd.cc,v 1.58 2001/11/13 18:11:20 hno Exp $
*
* DEBUG: section 47 Store Directory Routines
* AUTHOR: Duane Wessels
state->outbuf = xcalloc(CLEAN_BUF_SZ, 1);
state->outbuf_offset = 0;
state->walker = sd->repl->WalkInit(sd->repl);
- unlink(state->new);
unlink(state->cln);
state->fd = file_open(state->new, O_WRONLY | O_CREAT | O_TRUNC);
if (state->fd < 0) {
/*
- * $Id: store_dir_ufs.cc,v 1.38 2001/10/24 07:45:38 hno Exp $
+ * $Id: store_dir_ufs.cc,v 1.39 2001/11/13 18:11:21 hno Exp $
*
* DEBUG: section 47 Store Directory Routines
* AUTHOR: Duane Wessels
state->outbuf = xcalloc(CLEAN_BUF_SZ, 1);
state->outbuf_offset = 0;
state->walker = sd->repl->WalkInit(sd->repl);
-#if !(defined(_SQUID_OS2_) || defined (_SQUID_CYGWIN_))
- unlink(state->new);
-#endif
unlink(state->cln);
debug(20, 3) ("storeDirWriteCleanLogs: opened %s, FD %d\n",
state->new, state->fd);