Subject: CVS commit: pkgsrc/graphics/gimp1-base/files
To: None <pkgsrc-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: pkgsrc-changes
Date: 10/08/2006 16:24:26
Module Name:	pkgsrc
Committed By:	joerg
Date:		Sun Oct  8 16:24:26 UTC 2006

Modified Files:
	pkgsrc/graphics/gimp1-base/files: pdb_self_doc.c

Log Message:
Newer versions of NetBSD have the plague-spot called strndup.
While here, also use errx from the system on BSDs and don't
segfault in strndup if malloc failed.

From Don Woodstock in #netbsd-code.


To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/graphics/gimp1-base/files/pdb_self_doc.c

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