Fixed the comment about the updateEOF member of HTAB. The update_EOF()
authorwtc%netscape.com
Mon, 08 Oct 2001 23:19:33 +0000
changeset 2107 2c031020656c25d062d4adb9779a368e2dc24c54
parent 2106 acce7b6c4ab6326c04513edc8458751d745a4c77
child 2108 7cb0e62bce76ca2fbcbf62fe281acf99e44449ec
push idunknown
push userunknown
push dateunknown
Fixed the comment about the updateEOF member of HTAB. The update_EOF() function is not "closing and reopening the file".
dbm/include/hash.h
--- a/dbm/include/hash.h
+++ b/dbm/include/hash.h
@@ -126,17 +126,17 @@ typedef struct htab	 {		/* Memory reside
 	uint32		*mapp[NCACHED];	/* Pointers to page maps */
 	int		nmaps;		/* Initial number of bitmaps */
 	int		nbufs;		/* Number of buffers left to 
 					 * allocate */
 	BUFHEAD 	bufhead;	/* Header of buffer lru list */
 	SEGMENT 	*dir;		/* Hash Bucket directory */
 	off_t		file_size;	/* in bytes */
 	char		is_temp;	/* unlink file on close */
-	char		updateEOF;	/* close and reopen on flush */
+	char		updateEOF;	/* force EOF update on flush */
 } HTAB;
 
 /*
  * Constants
  */
 #define DATABASE_CORRUPTED_ERROR -999   /* big ugly abort, delete database */
 #define	OLD_MAX_BSIZE		65536		/* 2^16 */
 #define MAX_BSIZE       	32l*1024l         /* 2^15 */