/*
- * $Id: disk.cc,v 1.46 1996/11/24 04:19:10 wessels Exp $
+ * $Id: disk.cc,v 1.47 1996/11/28 07:30:59 wessels Exp $
*
* DEBUG: section 6 Disk I/O Routines
* AUTHOR: Harvest Derived
conn = &fd_table[fd];
memset(conn, '\0', sizeof(FD_ENTRY));
-#ifdef DONT_DO_THIS
- if (commSetNonBlocking(fd) != COMM_ERROR)
- conn->comm_type = COMM_NONBLOCKING;
-#endif
return fd;
}
/*
- * $Id: stat.cc,v 1.108 1996/11/25 18:50:31 wessels Exp $
+ * $Id: stat.cc,v 1.109 1996/11/28 07:31:02 wessels Exp $
*
* DEBUG: section 18 Cache Manager Statistics
* AUTHOR: Harvest Derived
t = mp.fsmblks + mp.fordblks;
storeAppendPrintf(sentry, "{\tTotal free: %6d KB %d%%}\n",
t >> 10, percent(t, mp.arena));
-#ifdef WE_DONT_USE_KEEP
- storeAppendPrintf(sentry, "{\tKeep option: %6d KB}\n",
- mp.keepcost >> 10);
-#endif
#if HAVE_EXT_MALLINFO
storeAppendPrintf(sentry, "{\tmax size of small blocks:\t%d}\n", mp.mxfast);
storeAppendPrintf(sentry, "{\tnumber of small blocks in a holding block:\t%d}\n",
/*
- * $Id: store.cc,v 1.169 1996/11/22 05:06:00 wessels Exp $
+ * $Id: store.cc,v 1.170 1996/11/28 07:31:04 wessels Exp $
*
* DEBUG: section 20 Storeage Manager
* AUTHOR: Harvest Derived
safeunlink(swapfile, 1);
continue;
}
-#ifdef DONT_DO_THIS
- /* timestamp might be a little bigger than sb.st_mtime */
- delta = (int) (timestamp - sb.st_mtime);
- if (delta > REBUILD_TIMESTAMP_DELTA_MAX || delta < 0) {
- /* this log entry doesn't correspond to this file */
- rebuildData->clashcount++;
- continue;
- }
-#endif
/* Wrong size? */
if (sb.st_size != size) {
/* this log entry doesn't correspond to this file */
rebuildData->clashcount++;
continue;
}
-#ifdef DONT_DO_THIS
- timestamp = sb.st_mtime;
-#endif
debug(20, 9, "storeRebuildFromDisk: swap file exists: '%s': %s\n",
url, swapfile);
}
/*
- * $Id: tools.cc,v 1.88 1996/11/25 02:36:46 wessels Exp $
+ * $Id: tools.cc,v 1.89 1996/11/28 07:31:05 wessels Exp $
*
* DEBUG: section 21 Misc Functions
* AUTHOR: Harvest Derived
t = mp.fsmblks + mp.fordblks;
fprintf(f, "\tTotal free: %6d KB %d%%\n",
t >> 10, percent(t, mp.arena));
-#ifdef WE_DONT_USE_KEEP
- fprintf(f, "\tKeep option: %6d KB\n",
- mp.keepcost >> 10);
-#endif
#if HAVE_EXT_MALLINFO
fprintf(f, "\tmax size of small blocks:\t%d\n",
mp.mxfast);