The NetBSD Project

CVS log for src/lib/libc/regex/engine.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / regex

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: nathanw_sa


Revision 1.12.10.2 / (download) - annotate - [select for diffs], Thu Aug 1 03:28:15 2002 UTC (17 years, 4 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.12.10.1: +5 -1 lines
Diff to previous 1.12.10.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Catch up to -current.

Revision 1.12.10.1 / (download) - annotate - [select for diffs], Mon Jan 28 20:50:44 2002 UTC (17 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.12: +16 -11 lines
Diff to previous 1.12 (colored)

Catch up to -current.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Sep 16 11:45:20 1999 UTC (20 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Branch point for: nathanw_sa
Changes since 1.11: +36 -1 lines
Diff to previous 1.11 (colored)

* use _DIAGASSERT() to check pointer arguments against NULL and file
  descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
  and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

		_DIAGASSERT(path != NULL)
	#ifdef _DIAGNOSTIC
		if (path == NULL) {
			errno = EFAULT;
			return (-1);
		}
	#endif

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>