summaryrefslogtreecommitdiffstats
path: root/Modules/bsddbmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't raise MemoryError in keys() when the database is empty.Guido van Rossum2001-03-221-1/+1
| | | | This fixes SF bug #410146 (python 2.1b shelve is broken).
* Gustavo Niemeyer <niemeyer@conectiva.com>:Fred Drake2001-02-271-73/+134
| | | | | | | | | | Fixed recno support (keys are integers rather than strings). Work around DB bug that cause stdin to be closed by rnopen() when the DB file needed to exist but did not (no longer segfaults). This closes SF tracker patch #403445. Also wrapped some long lines and added whitespace around operators -- FLD.
* Wrap a bunch of long lines.Fred Drake2001-02-191-13/+23
|
* [Patch #102827] Fix for PR#119558, avoiding core dumps by checking forAndrew M. Kuchling2000-12-151-7/+16
| | | | malloc() returning NULL
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-011-9/+0
| | | | This should match the situation in the 1.6b1 tree.
* Skip Montanaro <skip@mojam.com>:Fred Drake2000-08-311-1/+4
| | | | | | | | | | | Update the build structures to automatically detect the presence of BSD db, including the proper name of the header file to include. Has all the expected niceties associated with yet-more-configure-options. ;) This checkin includes changes for non-generated files only; subsequent checkin will catch those. This is part of SourceForge patch #101272.
* ANSIfy some more forward declarations.Thomas Wouters2000-07-241-1/+1
|
* ANSI-fication, not really tested, but should (hopefully) compilePeter Schneider-Kamp2000-07-101-87/+24
|
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Add a comment about needing to change a #include if using a version ofFred Drake2000-06-301-0/+1
| | | | | Berkeley DB 2.0 or newer; most Linux distros will include a more recent version than 1.85.
* Vladimir Marangozov's long-awaited malloc restructuring.Guido van Rossum2000-05-031-4/+4
| | | | | | | | | | For more comments, read the patches@python.org archives. For documentation read the comments in mymalloc.h and objimpl.h. (This is not exactly what Vladimir posted to the patches list; I've made a few changes, and Vladimir sent me a fix in private email for a problem that only occurs in debug mode. I'm also holding back on his change to main.c, which seems unnecessary to me.)
* Massive patch by Skip Montanaro to add ":name" to as manyGuido van Rossum2000-02-291-3/+3
| | | | PyArg_ParseTuple() format string arguments as possible.
* Added comment with web location of bsddb windows port.Guido van Rossum1999-09-201-1/+4
|
* Thanks to Chris Herborth, the thread primitives now have proper Py*Guido van Rossum1998-12-211-9/+9
| | | | | names in the source code (they already had those for the linker, through some smart macros; but the source still had the old, un-Py names).
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* Renamed thread.h to pythread.h.Guido van Rossum1998-10-011-1/+1
|
* Make new gcc -Wall happyGuido van Rossum1998-04-101-3/+3
|
* Threading speedup patches by Christopher Lindblad <cjl@infoseek.com>.Guido van Rossum1998-04-091-22/+148
|
* Apply two changes, systematically:Guido van Rossum1997-10-011-3/+3
| | | | | | | | | | | | | | | | | (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code!
* Patches by AMK to check that the db is still open.Guido van Rossum1997-07-171-0/+20
|
* Already renamed. Indented.Roger E. Masse1997-01-161-471/+513
|
* Fix bad format char in error msg (%s should be %d).Guido van Rossum1996-12-051-3/+1
| | | | Keep gcc -Wall happy.
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Force O_BINARY in flags if defined, for e.g. Microsoft platforms.Guido van Rossum1996-09-111-1/+10
|
* Dynamically initialize ob_type field, for Windows DLLGuido van Rossum1996-09-111-1/+2
|
* Converted to new style names by Skip MontanaroGuido van Rossum1996-07-241-130/+129
|
* Be more careful about default args.Guido van Rossum1996-05-231-16/+25
|
* Initial revisionGuido van Rossum1995-08-301-0/+667