The NetBSD Project

CVS log for src/lib/libc/gen/getgrent.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: netbsd-3


Revision 1.54.2.4 / (download) - annotate - [select for diffs], Mon Jul 11 21:27:00 2005 UTC (14 years, 6 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.54.2.3: +24 -16 lines
Diff to previous 1.54.2.3 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

Pull up revision 1.58 (requested by lukem in ticket #540):
When sequentially parsing a source looking for entries don't fail with
NS_UNAVAIL on an unparseable or too long line; instead try the next entry.
This is more consistent with the behaviour prior to the rework in rev 1.49.

Revision 1.54.2.3 / (download) - annotate - [select for diffs], Mon Jul 11 21:25:27 2005 UTC (14 years, 6 months ago) by tron
Branch: netbsd-3
Changes since 1.54.2.2: +32 -12 lines
Diff to previous 1.54.2.2 (colored) to branchpoint 1.54 (colored)

Pull up revision 1.57 (requested by lukem in ticket #540):
getgrent():
Return the correct result. (broken in rev 1.56 -- Hi Christos!)
getgr{ent,nam,uid}_r():
Return 0 "entry not found" and errno for other failures.
("entry not found" still sets *result to NULL).
Various backends:
don't set the retval to errno (or modify errno) for NS_NOTFOUND.
Per discussion with Klaus Klein.

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Mon Jul 11 21:22:33 2005 UTC (14 years, 6 months ago) by tron
Branch: netbsd-3
Changes since 1.54.2.1: +134 -8 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored)

Pull up revision 1.56 (requested by lukem in ticket #540):
PR/29849, PR/29850: Add getpwent_r and getgrent_r

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Mon Jul 11 21:21:47 2005 UTC (14 years, 6 months ago) by tron
Branch: netbsd-3
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Pull up revision 1.55 (requested by lukem in ticket #540):
tweak comment reminding us about lack of reentrancy

Revision 1.54 / (download) - annotate - [select for diffs], Thu Jan 6 15:00:45 2005 UTC (15 years ago) by lukem
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.53: +319 -371 lines
Diff to previous 1.53 (colored)

Rename various "internal" variables and functions and make non-static so other
internal libc source files can use these (including getgroupmembership(3)).

Be more consistent in the API that the __grscan_<source>() methods use.

In __grscan_compat() support an optional custom 'search' function used when a
"+" lookup is required.  Normally this will be getgrent() from group_compat,
but getgroupmembership(3) will use a tailored compat search routine for
efficiency.

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>