freebsd-skq/gnu
wpaul c68079d5af phkmalloc strikes!
#ifdef out a number of calls to free() left over from the original
GNU ypserv implementation. As near as I can tell, the Berkeley DB
package does its own garbage collection, hence the caller doesn't
have to worry about free()ing the memory returned in the DBT
structures during lookups (I'm still not 1005 sure about this:
the DB code is very hard to follow. I must use dynamically
allocated memory since you can retreive arbitrarily large records
from a database, but I'm not sure where it ends up letting go
of it). This was not true with GDBM; you had
to do your own garbage collection.

The general rule is that if you allocate memory inside an RPC
service routine, you have to free() it the next time the routine is
called since the underlying XDR routines won't do it for you.
But if the DB package does this itself, then we don't need to do
it in the main program.

Note that with the original malloc(), there were never any errors
flagged. phkmalloc complained quite loudly.
1995-09-24 17:21:52 +00:00
..
games Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
gnu2bmake Integrated GCC-2.6.1 -> GCC-2.6.2 changes. 1994-11-15 04:52:19 +00:00
include Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
lib Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libexec Make it sgid dialer to read lockfiles 1995-09-15 00:05:07 +00:00
usr.bin Stop using gnumalloc. 1995-09-22 14:14:32 +00:00
usr.sbin phkmalloc strikes! 1995-09-24 17:21:52 +00:00
COPYING This commit was manufactured by cvs2svn to create branch 'gnu'. 1993-11-08 17:09:51 +00:00
COPYING.LIB Adding GPL docs, make structure. 1993-06-18 06:05:45 +00:00
Makefile Hurm... I could have sworn I added usr.sbin to the top level GNU 1995-02-07 19:10:39 +00:00
Makefile.inc Added gdb/gas/ld to GNU makefiles 1993-06-29 09:54:26 +00:00