The NetBSD Project

CVS log for src/lib/libc/net/nsdispatch.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.39 / (download) - annotate - [select for diffs], Tue Apr 19 20:32:15 2022 UTC (2 years ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

lib: remove CONSTCOND comment

Since 2021-01-31, lint doesn't need it anymore for the common pattern of
'do ... while (0)'.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Sep 18 13:58:20 2014 UTC (9 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

make more descriptors that we open as close-on-exec

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:21 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.36: +3 -4 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync with head

Revision 1.37 / (download) - annotate - [select for diffs], Tue Mar 13 21:13:42 2012 UTC (12 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, agc-symver-base, agc-symver
Changes since 1.36: +3 -4 lines
Diff to previous 1.36 (colored)

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
  would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
  builds)

approved by core@

Revision 1.34.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:19 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.34: +7 -7 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with HEAD

Revision 1.36 / (download) - annotate - [select for diffs], Tue Feb 22 05:45:08 2011 UTC (13 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Branch point for: yamt-pagecache
Changes since 1.35: +4 -7 lines
Diff to previous 1.35 (colored)

Introduce __weakref_visible to handle the different required visibility
for weak references. GCC 4.2+ and Clang require static, older GCC wants
extern. Change __weak_reference to include sym. This requires changes
the existing users to not reuse the name of the symbol, but avoids
further differences between GCC 4.1 and GCC 4.2+/clang.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Feb 18 23:41:57 2011 UTC (13 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.34: +10 -7 lines
Diff to previous 1.34 (colored)

Support the different weakref semantic in GCC 4.2 and clang.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Feb 5 13:21:11 2009 UTC (15 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

sign-compare fix

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:39:22 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.33.6.2 / (download) - annotate - [select for diffs], Sun Aug 17 10:51:20 2008 UTC (15 years, 8 months ago) by gmcgarry
Branch: christos-time_t
Changes since 1.33.6.1: +693 -0 lines
Diff to previous 1.33.6.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Changee __attribute(__weak__) to __weak_reference().  Produces same object code
and matches lib/csu/common_elf/common.h.  Fixes linkage with PCC.

Revision 1.33.6.1, Sun Aug 17 10:51:19 2008 UTC (15 years, 8 months ago) by gmcgarry
Branch: christos-time_t
Changes since 1.33: +0 -693 lines
FILE REMOVED

file nsdispatch.c was added on branch christos-time_t on 2008-08-17 10:51:20 +0000

Revision 1.33 / (download) - annotate - [select for diffs], Sun Aug 17 10:51:19 2008 UTC (15 years, 8 months ago) by gmcgarry
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, christos-time_t-nbase, christos-time_t-base
Branch point for: christos-time_t
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Changee __attribute(__weak__) to __weak_reference().  Produces same object code
and matches lib/csu/common_elf/common.h.  Fixes linkage with PCC.

Revision 1.31.16.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:18 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.31: +2 -9 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:00 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.31: +2 -9 lines
Diff to previous 1.31 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.31 / (download) - annotate - [select for diffs], Sun Oct 15 16:14:46 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: yamt-pf42
Changes since 1.30: +9 -9 lines
Diff to previous 1.30 (colored)

fix incomplete initializers

Revision 1.30 / (download) - annotate - [select for diffs], Tue Nov 29 03:11:59 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.29: +7 -12 lines
Diff to previous 1.29 (colored)

WARNS=4

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Sat Jul 2 23:21:24 2005 UTC (18 years, 9 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.28: +8 -14 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Pull up revision 1.29 (requested by thorpej in ticket #501):
_nsdispatching needs to count, not just be 1 or 0.  Also shuffle
around
its use a little to eliminate some duplication.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jun 26 16:27:36 2005 UTC (18 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +8 -14 lines
Diff to previous 1.28 (colored)

_nsdispatching needs to count, not just be 1 or 0.  Also shuffle around
its use a little to eliminate some duplication.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Nov 10 07:23:32 2004 UTC (19 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.27: +34 -3 lines
Diff to previous 1.27 (colored)

* Improve the comments in <nsswitch.h>
* Provide some more useful default ns_src arrays.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Oct 4 04:02:27 2004 UTC (19 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.26: +3 -2 lines
Diff to previous 1.26 (colored)

* Re-number NS_FORCEALL from 1<<7 to 1<<8, moving it out of the "public"
  bitrange for nsdispatch(3) return values.
* Tweak documentation comments in nsswitch.h
* Ensure the result from the back-end method is masked with
  NS_STATUSMASK before nsdispatch(3) returns it.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Sep 29 02:47:32 2004 UTC (19 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.25: +4 -2 lines
Diff to previous 1.25 (colored)

Implement NS_FORCEALL, which may be set in defaults[0].flags by a caller of
nsdispatch(3) to indicate that all available database methods for a source
will be invoked.  This is useful for functions such as endgrent(3).

Revision 1.25 / (download) - annotate - [select for diffs], Tue Sep 28 11:51:42 2004 UTC (19 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.24: +6 -3 lines
Diff to previous 1.24 (colored)

also ensure defaults != NULL

Revision 1.24 / (download) - annotate - [select for diffs], Wed Sep 8 10:52:56 2004 UTC (19 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.23: +4 -2 lines
Diff to previous 1.23 (colored)

Fix non-ELF case in _nsloadmod().

Revision 1.23 / (download) - annotate - [select for diffs], Mon Aug 2 00:19:34 2004 UTC (19 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.22: +80 -19 lines
Diff to previous 1.22 (colored)

Prevent a deadlock that could occur if we try to update the configuration
data structures during a recursive call to nsdispatch() by keeping a record
of which threads are inside nsdispatch() at any given time.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jul 24 18:42:51 2004 UTC (19 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +422 -102 lines
Diff to previous 1.21 (colored)

Add support for dynamically loading nsswitch modules on ELF platforms.
Adapted from FreeBSD.  Maintains full backward API / ABI compatbility
with built-in-only nsdispatch().

While here, also make nsdispatch() itself thread-safe.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jul 16 16:11:43 2004 UTC (19 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +9 -19 lines
Diff to previous 1.20 (colored)

Use ANSI function decls.

Revision 1.20 / (download) - annotate - [select for diffs], Mon May 24 16:16:26 2004 UTC (19 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.19: +3 -5 lines
Diff to previous 1.19 (colored)

remove stray NSUNLOCK(); pointed out by Brian Ginsbach.

Revision 1.19 / (download) - annotate - [select for diffs], Sun May 23 16:53:22 2004 UTC (19 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.18: +22 -8 lines
Diff to previous 1.18 (colored)

make this thread-safe.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Fri Jun 21 18:18:16 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.17: +3 -22 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Catch up to -current.

Revision 1.18 / (download) - annotate - [select for diffs], Sun May 26 14:48:19 2002 UTC (21 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.17: +3 -22 lines
Diff to previous 1.17 (colored)

__STDC__ is always defined on NetBSD.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Dec 20 20:51:08 2000 UTC (23 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: nathanw_sa
Changes since 1.16: +6 -5 lines
Diff to previous 1.16 (colored)

remove redundant declarations.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jan 22 22:19:16 2000 UTC (24 years, 3 months ago) by mycroft
Branch: MAIN
CVS Tags: 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
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Delint.
Remove trailing ; from uses of __weak_alias().  The macro inserts this if
needed.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:29:42 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.14: +19 -11 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Pull up to last week's -current.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Nov 28 05:46:15 1999 UTC (24 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.14: +19 -11 lines
Diff to previous 1.14 (colored)

don't use err(); instead pass an error condition back to a higher
layer to warn() about.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Sep 20 04:39:16 1999 UTC (24 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.13: +2 -18 lines
Diff to previous 1.13 (colored)

back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Sep 16 23:43:52 1999 UTC (24 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.12: +2 -4 lines
Diff to previous 1.12 (colored)

return NS_UNAVAIL if args are dodgy

Revision 1.12 / (download) - annotate - [select for diffs], Thu Sep 16 11:45:16 1999 UTC (24 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.11: +36 -2 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

Revision 1.11 / (download) - annotate - [select for diffs], Mon May 3 15:17:13 1999 UTC (24 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)

sprinkle argsused till lint smiles at you.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Apr 18 02:27:54 1999 UTC (25 years ago) by lukem
Branch: MAIN
Changes since 1.9: +8 -2 lines
Diff to previous 1.9 (colored)

specifically include stdarg/varargs.h

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 25 00:16:17 1999 UTC (25 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.8: +6 -1 lines
Diff to previous 1.8 (colored)

add rcsids

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jan 20 23:31:02 1999 UTC (25 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.7: +5 -3 lines
Diff to previous 1.7 (colored)

minor knf; don't exceed 80 columns ;)

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 20 13:05:29 1999 UTC (25 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.6: +16 -14 lines
Diff to previous 1.6 (colored)

- add ARGSUSED
- remove unnecessary casts
- const poisoning

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 20 11:49:33 1999 UTC (25 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.5: +7 -1 lines
Diff to previous 1.5 (colored)

weak_alias nsdispatch

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jan 19 07:58:05 1999 UTC (25 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.4: +35 -40 lines
Diff to previous 1.4 (colored)

* support extra two arguments to nsdispatch():
	const char *method		/* method name for dynamic linking */
	const ns_src defaults[]		/* list of defaults */
* document above, and expand other docco.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jan 17 04:49:04 1999 UTC (25 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

fix thinko introduced in last rototilling of nsdispatch; _nsdbtget()
would always return the entry for the first entry looked up.  noted by
andrew gillham (manifesting itself as ftp failing to lookup names).

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jan 16 01:21:01 1999 UTC (25 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

remove debugging override of _PATH_NS_CONF

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 15 12:53:24 1999 UTC (25 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.1: +267 -0 lines
Diff to previous 1.1 (colored)

merge nsswitch into main branch

Revision 1.1.4.5 / (download) - annotate - [select for diffs], Fri Jan 15 12:40:01 1999 UTC (25 years, 3 months ago) by lukem
Branch: lukem-nsswitch2
Changes since 1.1.4.4: +2 -2 lines
Diff to previous 1.1.4.4 (colored) next main 1.2 (colored)

display line number in yacc error messages (using yylineno). minor cleanup

Revision 1.1.4.4 / (download) - annotate - [select for diffs], Thu Jan 14 06:57:37 1999 UTC (25 years, 3 months ago) by lukem
Branch: lukem-nsswitch2
Changes since 1.1.4.3: +125 -120 lines
Diff to previous 1.1.4.3 (colored)

major rework to support arbitrary sources. rename all internal functions to
be consistent (e.g, __nsdbtget(), __nsdbtdump(), __nsdbtput())

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Mon Nov 2 03:29:36 1998 UTC (25 years, 5 months ago) by lukem
Branch: lukem-nsswitch2
Changes since 1.1.4.2: +40 -28 lines
Diff to previous 1.1.4.2 (colored)

sync with current, assign my copyrights to TNF

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Mon May 26 15:40:36 1997 UTC (26 years, 10 months ago) by lukem
Branch: lukem-nsswitch2
Changes since 1.1.4.1: +2 -2 lines
Diff to previous 1.1.4.1 (colored)

reduce # of elems to malloc at once from 17 to 10, due to increased size
of ns_DBT

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Fri May 23 21:14:48 1997 UTC (26 years, 11 months ago) by lukem
Branch: lukem-nsswitch2
Changes since 1.1: +250 -0 lines
Diff to previous 1.1 (colored)

* Add nsdispatch(3) implementation
* Deprecate support for "lookup" in resolv.conf

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Wed Nov 6 00:49:09 1996 UTC (27 years, 5 months ago) by lukem
Branch: nsswitch
Changes since 1.1: +247 -0 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

initial nsswitch implementation

Revision 1.1, Wed Nov 6 00:49:08 1996 UTC (27 years, 5 months ago) by lukem
Branch: MAIN
Branch point for: nsswitch, lukem-nsswitch2
FILE REMOVED

file nsdispatch.c was initially added on branch nsswitch.

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>