The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.58 / (download) - annotate - [select for diffs], Thu Sep 21 13:46:12 2023 UTC (5 months, 3 weeks ago) by shm
Branch: MAIN
CVS Tags: triaxx-drm, HEAD
Changes since 1.57: +5 -3 lines
Diff to previous 1.57 (colored) to selected 1.19 (colored)

Fix memory leak in getent()

Memory was not freed if record was not found

Revision 1.57 / (download) - annotate - [select for diffs], Sun Jun 18 03:56:39 2017 UTC (6 years, 9 months ago) by manu
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: netbsd-9, netbsd-10
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored) to selected 1.19 (colored)

Make shared -DSMALL libc buildable without breaking libhack

We used -DSMALL to exclude code from libc in order to build
libhack. Introduce -DLIBHACK to do this without so that
-DSMALL does not remove code necessary for building a shared libc

Revision 1.56 / (download) - annotate - [select for diffs], Wed Sep 24 13:18:52 2014 UTC (9 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, netbsd-8-base, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.55: +2 -6 lines
Diff to previous 1.55 (colored) to selected 1.19 (colored)

undo, the right place for this is compat_defs.h

Revision 1.55 / (download) - annotate - [select for diffs], Wed Sep 24 07:53:06 2014 UTC (9 years, 5 months ago) by he
Branch: MAIN
Changes since 1.54: +6 -2 lines
Diff to previous 1.54 (colored) to selected 1.19 (colored)

Provide a backward-compatible conditional define of O_CLOEXEC
for those systems which lack it, since these files are used in
tools builds.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Sep 18 13:58:20 2014 UTC (9 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.53: +5 -5 lines
Diff to previous 1.53 (colored) to selected 1.19 (colored)

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

Revision 1.53 / (download) - annotate - [select for diffs], Thu Jun 26 20:14:32 2014 UTC (9 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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
Branch point for: netbsd-7
Changes since 1.52: +9 -11 lines
Diff to previous 1.52 (colored) to selected 1.19 (colored)

don't depend on expandtc to open the database or not.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jun 4 20:56:40 2012 UTC (11 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy
Changes since 1.51: +3 -6 lines
Diff to previous 1.51 (colored) to selected 1.19 (colored)

ANSIfy

Revision 1.51 / (download) - annotate - [select for diffs], Tue Mar 13 21:13:35 2012 UTC (12 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Changes since 1.50: +14 -10 lines
Diff to previous 1.50 (colored) to selected 1.19 (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.50 / (download) - annotate - [select for diffs], Sat Oct 15 23:00:01 2011 UTC (12 years, 5 months ago) by christos
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
Branch point for: yamt-pagecache
Changes since 1.49: +4 -4 lines
Diff to previous 1.49 (colored) to selected 1.19 (colored)

close on exec fixes:
- open + fcntl -> open O_CLOEXEC
- configuration database file descriptors that can stay open are now opened
  fopen(db, "re")

Revision 1.49 / (download) - annotate - [select for diffs], Mon Feb 7 21:39:47 2011 UTC (13 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) to selected 1.19 (colored)

Don't define weak aliases in the SMALL case. They conflict with the real
function name since SMALL doesn't use the normal rename logic.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Feb 2 20:56:46 2008 UTC (16 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, 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, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, 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-premerge-20101231, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, christos-time_t-nbase, christos-time_t-base, christos-time_t
Branch point for: bouyer-quota2
Changes since 1.47: +15 -5 lines
Diff to previous 1.47 (colored) to selected 1.19 (colored)

Add csetexpandtc()

Revision 1.47 / (download) - annotate - [select for diffs], Tue Jul 4 03:53:54 2006 UTC (17 years, 8 months ago) by jnemeth
Branch: MAIN
CVS Tags: 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-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: matt-armv6
Changes since 1.46: +85 -88 lines
Diff to previous 1.46 (colored) to selected 1.19 (colored)

KNF

Revision 1.46 / (download) - annotate - [select for diffs], Mon May 29 21:55:41 2006 UTC (17 years, 9 months ago) by jnemeth
Branch: MAIN
Changes since 1.45: +7 -3 lines
Diff to previous 1.45 (colored) to selected 1.19 (colored)

missed check for malloc() returning NULL

Revision 1.45 / (download) - annotate - [select for diffs], Sun Apr 2 03:26:03 2006 UTC (17 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.44: +5 -2 lines
Diff to previous 1.44 (colored) to selected 1.19 (colored)

Add coverity annotations.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Mar 19 02:25:12 2006 UTC (18 years ago) by christos
Branch: MAIN
Changes since 1.43: +5 -3 lines
Diff to previous 1.43 (colored) to selected 1.19 (colored)

Coveriry CID 509: Avoid NULL pointer deref.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Mar 19 02:12:09 2006 UTC (18 years ago) by christos
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored) to selected 1.19 (colored)

Coverity CID 510: Avoid uninitialized variable.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Nov 29 03:11:59 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.41: +3 -4 lines
Diff to previous 1.41 (colored) to selected 1.19 (colored)

WARNS=4

Revision 1.41 / (download) - annotate - [select for diffs], Sun Apr 25 06:45:29 2004 UTC (19 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-3-base, 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, netbsd-3
Changes since 1.40: +22 -7 lines
Diff to previous 1.40 (colored) to selected 1.19 (colored)

Add -DSMALL so that this can be used in libhack.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Apr 23 14:47:52 2004 UTC (19 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.39: +22 -43 lines
Diff to previous 1.39 (colored) to selected 1.19 (colored)

Ansify and add change db_name vector from char ** to const char * const *

Revision 1.39 / (download) - annotate - [select for diffs], Mon Oct 27 00:12:42 2003 UTC (20 years, 4 months ago) by lukem
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
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored) to selected 1.19 (colored)

Overhaul how `build.sh tools' are used:

    *	Rename "config.h" to "nbtool_config.h" and
	HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
	This makes in more obvious in the source when we're using
	tools/compat/config.h versus "standard autoconf" config.h

    *	Consistently move the inclusion of nbtool_config.h to before
    	<sys/cdefs.h> so that the former can provide __RCSID() (et al),
    	and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
	#if HAVE_NBTOOL_CONFIG_H
	#include "nbtool_config.h"
	#endif
to the top of the source files (for the general case).

Revision 1.38 / (download) - annotate - [select for diffs], Thu Aug 7 16:42:49 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.37: +3 -7 lines
Diff to previous 1.37 (colored) to selected 1.19 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jan 31 20:50:30 2003 UTC (21 years, 1 month ago) by uwe
Branch: MAIN
Changes since 1.36: +6 -2 lines
Diff to previous 1.36 (colored) to selected 1.19 (colored)

Avoid cgetcap &co prototypes conflicting with those provided by the host.
With this change we can cross-compile on FreeBSD 4.x.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Aug 4 11:55:51 2002 UTC (21 years, 7 months ago) by tron
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.35: +4 -3 lines
Diff to previous 1.35 (colored) to selected 1.19 (colored)

Include "sys/param.h" and use "MATHPATHLEN" instead of "_POSIX_PATH_MAX"
to fix build problem.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Apr 16 19:07:57 2002 UTC (21 years, 11 months ago) by groo
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
Branch point for: netbsd-1-6
Changes since 1.34: +6 -2 lines
Diff to previous 1.34 (colored) to selected 1.19 (colored)

Detect if line length exceeds buffer capacities.
from xs@kittenz.org

Revision 1.34 / (download) - annotate - [select for diffs], Mon Jun 25 15:34:08 2001 UTC (22 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.33: +6 -3 lines
Diff to previous 1.33 (colored) to selected 1.19 (colored)

avoid an underrun in "buf".  noted by dean@huxley.org in PR#13292

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jun 2 13:13:07 2000 UTC (23 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5, nathanw_sa
Changes since 1.32: +38 -17 lines
Diff to previous 1.32 (colored) to selected 1.19 (colored)

correct memory leak due to t_getstr() and realloc().  the commit will
prevent "top -s 0" from chewing up memory.

TODO: realloc() audit, revisit recent termcap/curses changes

Revision 1.32 / (download) - annotate - [select for diffs], Sat Jan 22 22:19:10 2000 UTC (24 years, 2 months ago) by mycroft
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.31: +12 -12 lines
Diff to previous 1.31 (colored) to selected 1.19 (colored)

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

Revision 1.31 / (download) - annotate - [select for diffs], Mon Sep 20 04:38:59 1999 UTC (24 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.30: +2 -44 lines
Diff to previous 1.30 (colored) to selected 1.19 (colored)

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

Revision 1.30 / (download) - annotate - [select for diffs], Thu Sep 16 11:44:57 1999 UTC (24 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.29: +98 -5 lines
Diff to previous 1.29 (colored) to selected 1.19 (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.29 / (download) - annotate - [select for diffs], Mon Mar 29 09:27:29 1999 UTC (24 years, 11 months ago) by abs
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.28: +4 -4 lines
Diff to previous 1.28 (colored) to selected 1.19 (colored)

Cast argument to isspace to (unsigned char) to pass zoularis.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Mar 23 02:58:50 1999 UTC (25 years ago) by abs
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored) to selected 1.19 (colored)

Fix 'suggest parentheses' warning noted by Erik E. Fair <fair@clock.org>

Revision 1.27 / (download) - annotate - [select for diffs], Mon Mar 22 03:28:09 1999 UTC (25 years ago) by abs
Branch: MAIN
Changes since 1.26: +24 -3 lines
Diff to previous 1.26 (colored) to selected 1.19 (colored)

If we push a cap entry (usually from the environment), strip : deliminated
entries that only contain whitespace, in a similar fashion to reading from
a file.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 16 18:13:45 1999 UTC (25 years ago) by christos
Branch: MAIN
Changes since 1.25: +5 -5 lines
Diff to previous 1.25 (colored) to selected 1.19 (colored)

Fix gcc-2.8.1 warnings.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Nov 13 08:25:17 1998 UTC (25 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) to selected 1.19 (colored)

avoid assignment of a read only location that lint does not pick, but gcc does.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Nov 12 16:25:21 1998 UTC (25 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.23: +5 -3 lines
Diff to previous 1.23 (colored) to selected 1.19 (colored)

delint

Revision 1.23 / (download) - annotate - [select for diffs], Wed Aug 26 00:38:40 1998 UTC (25 years, 6 months ago) by perry
Branch: MAIN
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored) to selected 1.19 (colored)

fix bcopy->memcpy with memcpy->memmove -- not strictly needed, but...

Revision 1.22 / (download) - annotate - [select for diffs], Mon Aug 10 02:43:09 1998 UTC (25 years, 7 months ago) by perry
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) to selected 1.19 (colored)

bzero->memset, bcopy->memcpy, bcmp->memcmp

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 27 07:41:53 1998 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.20: +30 -19 lines
Diff to previous 1.20 (colored) to selected 1.19 (colored)

const poisoning.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jul 21 13:36:54 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.19: +37 -6 lines
Diff to previous 1.19 (colored)

Suppress blank fields due to continuation lines.

Revision 1.19 / (download) - annotate - [selected], Wed Mar 18 20:29:27 1998 UTC (26 years ago) by tv
Branch: MAIN
Changes since 1.18: +8 -8 lines
Diff to previous 1.18 (colored)

PR 5170: don't fclose twice, or call ferror after fclose.
required removing fcloses and/or moving them, nulling the pointers
like they should have been, and adding a terminating null byte and break
in one case (perhaps we never ran into those problems before).
cgetclose() already does a fclose and null of the pointer, so don't
duplicate it when we don't need to.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Mar 2 23:39:49 1998 UTC (26 years ago) by thorpej
Branch: MAIN
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored) to selected 1.19 (colored)

Fix type size lossage on the Alpha.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Feb 26 02:40:11 1998 UTC (26 years ago) by perry
Branch: MAIN
Changes since 1.16: +8 -9 lines
Diff to previous 1.16 (colored) to selected 1.19 (colored)

trivial changes to reduce lint complaints

Revision 1.16 / (download) - annotate - [select for diffs], Tue Feb 3 18:23:43 1998 UTC (26 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.15: +18 -18 lines
Diff to previous 1.15 (colored) to selected 1.19 (colored)

remove obsolete register declarations

Revision 1.15 / (download) - annotate - [select for diffs], Mon Aug 25 19:31:45 1997 UTC (26 years, 6 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) to selected 1.19 (colored)

Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
use SEEK_SET/SEEK_CUR/SEEK_END instead.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jul 21 14:07:03 1997 UTC (26 years, 8 months ago) by jtc
Branch: MAIN
Changes since 1.13: +16 -3 lines
Diff to previous 1.13 (colored) to selected 1.19 (colored)

If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore.  The library will use those
names internally.  Weak aliases are used to provide the original names
to the API.

This is only the first part of this change.  It is most of the functions
which are implemented in C for all NetBSD ports.  Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jul 13 19:00:13 1997 UTC (26 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.12: +5 -9 lines
Diff to previous 1.12 (colored) to selected 1.19 (colored)

Fix RCSID's
Fix gcc warnings.

Revision 1.12 / (download) - annotate - [select for diffs], Sat May 17 19:29:18 1997 UTC (26 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) to selected 1.19 (colored)

NULL => 0 (Arne Juul; PR#3629)

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jan 23 14:01:54 1997 UTC (27 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored) to selected 1.19 (colored)

- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Aug 24 05:26:35 1995 UTC (28 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: nsswitch, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Branch point for: ivory_soap2
Changes since 1.9: +3 -6 lines
Diff to previous 1.9 (colored) to selected 1.19 (colored)

Do not terminate the search on errors other than ENOENT.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Feb 25 13:41:26 1995 UTC (29 years ago) by cgd
Branch: MAIN
Changes since 1.8: +10 -5 lines
Diff to previous 1.8 (colored) to selected 1.19 (colored)

update to 4.4-Lite where appropriate, clean up Id format, etc.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Mar 26 02:51:45 1994 UTC (30 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0, ivory_soap
Changes since 1.7: +9 -6 lines
Diff to previous 1.7 (colored) to selected 1.19 (colored)

slight mod

Revision 1.7 / (download) - annotate - [select for diffs], Sun Mar 6 07:54:35 1994 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.6: +14 -7 lines
Diff to previous 1.6 (colored) to selected 1.19 (colored)

fix for lib/156: cgetent does access free'd memory,
from Thomas Eberhardt

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jan 4 05:36:22 1994 UTC (30 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) to selected 1.19 (colored)

rename fgetline()

Revision 1.5 / (download) - annotate - [select for diffs], Wed Dec 22 07:10:58 1993 UTC (30 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.4: +8 -6 lines
Diff to previous 1.4 (colored) to selected 1.19 (colored)

don't squish newline at end of fgetline()...  from bostic

Revision 1.4 / (download) - annotate - [select for diffs], Thu Aug 26 00:44:35 1993 UTC (30 years, 7 months ago) by jtc
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.19 (colored)

Declare rcsid strings so they are stored in text segment.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 30 08:22:19 1993 UTC (30 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored) to selected 1.19 (colored)

Add even more RCS frobs.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jun 8 16:49:53 1993 UTC (30 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.1: +5 -7 lines
Diff to previous 1.1 (colored) to selected 1.19 (colored)

fgetline() does not return the newline.

Revision 1.1 / (download) - annotate - [select for diffs], Tue May 18 07:37:54 1993 UTC (30 years, 10 months ago) by cgd
Branch: MAIN
Diff to selected 1.19 (colored)

bring in getcap routines, supplied by CSRG, from 4.4...

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>