Mail Archives: djgpp/2001/05/28/15:54:07
This is a port of GNU gdbm 1.8.0 to MSDOS/DJGPP.
DJGPP specific changes.
=======================
This update accounts for the fact that DJGPP's implementation
of fcntl() does not support F_GETLK, F_SETLK nor F_SETLKW. To
make this package work, no file locking and unlocking attempt
is done at all. This implies that the macros READLOCK_FILE and
WRITELOCK_FILE defined in system.h will not invoke fcntl()
anymore but will always return a success status if the user
"locks" a db file for reading, writing or creating.
MSDOS does not offer a serious file locking anyway, so this way
of solving the difficulty is acceptable. The user will be able
to read and write db files but it must be beared in mind that the
opened file is not locked at all, neither on MSDOS *NOR* on WIN9X.
It is the users *EXCLUSIVE* responsability to make sure that no
other application tries to modify the opened db file.
The binaries and sources can be downloaded from Simtel.Net and
mirrors as (timestamp:2001-05-25):
<ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/gdbm180b.zip>
<ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu/gdbm180s.zip>
Send suggestions and bug reports concerning the DJGPP port to
comp.os.msdos.djgpp or <djgpp AT delorie DOT com>.
Bug reports concerning gdbm must be send <bug-gnu-utils AT gnu DOT org>.
Enjoy
Guerrero, Juan Manuel <st001906 AT hrz1 DOT hrz DOT tu-darmstadt DOT de>
- Raw text -