This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
At 10:14 PM 7/18/2003 -0400, Charles Wilson wrote: >Plus, with some luck or help, I can write a program that dumps a database >to an interchange format. executable #1 is linked to the old gdbm dll, >and is used to write the database out to interchange format. executable >#2 is linked to the new gdbm dll, and is used to read the interchange >format in, and save out to a new gdbm file. Here is an attempt. There should probably be a shell script, e.g. #! /bin/sh dumpgdbm $1 | loadgdbm $1.cygnew && mv $1 $1.bak && mv $1.cygnew $1 Pierre
Attachment:
dumpgdbm.c
Description: Text document
Attachment:
loadgdbm.c
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |