Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Klaus Klein <kleink@netbsd.org>
List: source-changes
Date: 09/17/1999 02:33:36
Module Name: basesrc
Committed By: kleink
Date: Fri Sep 17 09:33:35 UTC 1999
Modified Files:
basesrc/lib/libc/regex: regerror.c
Log Message:
The previous assertion change was incorrect: the preg argument is permitted to
be NULL (part of the interface definition!) unless errcode is REG_ATOI, which
is a non-portable extension.
Also, remove assertions from the local regatoi() function, as they are either
redundant or will never fail due to the buffer allocation for that argument in
regerror().
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 basesrc/lib/libc/regex/regerror.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.