Date: Sunday February 15, 2004 @ 19:45
Author: cameron
Update of /home/netrek/cvsroot/Vanilla/docs
In directory swashbuckler.real-time.com:/var/tmp/cvs-serv6142/docs
Modified Files:
players-file-redesign.txt
Log Message:
add player file index support
****************************************
Index: Vanilla/docs/players-file-redesign.txt
diff -u Vanilla/docs/players-file-redesign.txt:1.1 Vanilla/docs/players-file-redesign.txt:1.2
--- Vanilla/docs/players-file-redesign.txt:1.1 Wed May 29 20:31:26 2002
+++ Vanilla/docs/players-file-redesign.txt Sun Feb 15 19:45:46 2004
@@ -160,3 +160,15 @@
- else if found, append .index record, return offset
- cause tools that write new .players file to remove .index file
+second design idea, 2004-02
+
+- use libgdbm3 GNU dbm database
+ - player name as key
+ - .players offset as value
+- getname.c
+ - find entry in dbm
+ - if not found,
+ - do manual search
+ - if found, lock, add to dbm, unlock
+ - else if found, use normally.
+- cause tools that write new .players file to remove .index file
_______________________________________________
vanilla-devel mailing list
vanilla-devel at us.netrek.org
https://mailman.real-time.com/mailman/listinfo/vanilla-devel