Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 11/27/1999 19:44:10
Module Name:	basesrc
Committed By:	lukem
Date:		Sun Nov 28 03:44:10 UTC 1999

Modified Files:
	basesrc/lib/libc/gen: stringlist.3 stringlist.c

Log Message:
* sl_init(); if malloc() fails return NULL instead of calling err(1,...)
* sl_add(); if realloc() fails return -1 instead of calling err(1,...).
  otherwise, return 0.

NOTE: this change resulted in sl_add() changing from returning void to int.
this shouldn't be a problem because a) it returns 0 if ok (aka `void', b)
all invokers of sl_add() in the tree have been changed (mainly code i've
written).


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 basesrc/lib/libc/gen/stringlist.3
cvs rdiff -r1.7 -r1.8 basesrc/lib/libc/gen/stringlist.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.