Up to [cvs.NetBSD.org] / src / lib / libutil
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.16 / (download) - annotate - [select for diffs], Sat Apr 7 16:17:17 2012 UTC (13 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-nbase,
tls-maxphys-base,
tls-maxphys,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.15: +10 -10
lines
Diff to previous 1.15 (colored)
read returns ssize_t, and err is a function name.
Revision 1.15 / (download) - annotate - [select for diffs], Sun Jan 18 12:13:04 2009 UTC (4 years, 3 months ago) by lukem
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-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-premerge-20091211,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.14: +5 -5
lines
Diff to previous 1.14 (colored)
fix -Wsign-compare issues
Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 19 21:55:37 2006 UTC (7 years, 2 months 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,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
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-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,
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,
mjf-devfs2-base,
mjf-devfs2,
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,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
christos-time_t-base,
christos-time_t,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.13: +92 -102
lines
Diff to previous 1.13 (colored)
Coverity CID 1209: Avoid negative close. While I am there fix bugs (open returning 0 is ok). Reorganize code to factor out common parts, cleanup syscall checking and error code return.
Revision 1.13 / (download) - annotate - [select for diffs], Sat Aug 27 16:55:59 2005 UTC (7 years, 8 months ago) by elad
Branch: MAIN
Changes since 1.12: +7 -7
lines
Diff to previous 1.12 (colored)
Lint warnings.
Revision 1.12 / (download) - annotate - [select for diffs], Sat Jul 26 19:25:10 2003 UTC (9 years, 9 months ago) by salo
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,
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.11: +3 -3
lines
Diff to previous 1.11 (colored)
netbsd.org->NetBSD.org
Revision 1.11 / (download) - annotate - [select for diffs], Mon Apr 21 00:39:40 2003 UTC (10 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
PR/7885: Kip Rugger: ttylock(3) ignores flags and locker parameters
Revision 1.10 / (download) - annotate - [select for diffs], Sat Nov 16 23:30:32 2002 UTC (10 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.9: +10 -10
lines
Diff to previous 1.9 (colored)
use strlcpy/cat
Revision 1.9 / (download) - annotate - [select for diffs], Wed Jul 5 11:46:42 2000 UTC (12 years, 10 months ago) by ad
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
Changes since 1.8: +5 -13
lines
Diff to previous 1.8 (colored)
- __RCSID() police. - ANSIfy. - Miscellaneous style changes. - Shutup lint(1) in one or two cases.
Revision 1.8 / (download) - annotate - [select for diffs], Mon Sep 20 04:48:08 1999 UTC (13 years, 8 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
Changes since 1.7: +2 -20
lines
Diff to previous 1.7 (colored)
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained. _DIAGASSERT() is still retained.
Revision 1.7 / (download) - annotate - [select for diffs], Thu Sep 16 11:45:51 1999 UTC (13 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.6: +31 -2
lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Mon Jan 11 23:20:35 1999 UTC (14 years, 4 months ago) by kleink
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.5: +3 -3
lines
Diff to previous 1.5 (colored)
In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration of errno.
Revision 1.5 / (download) - annotate - [select for diffs], Wed Dec 9 14:35:03 1998 UTC (14 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.4: +4 -3
lines
Diff to previous 1.4 (colored)
Delint
Revision 1.4 / (download) - annotate - [select for diffs], Mon Jul 6 06:47:24 1998 UTC (14 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.3: +4 -3
lines
Diff to previous 1.3 (colored)
- use an array MAXHOSTNAMELEN+1 size to hold hostnames - ensure hostname from gethostname() is nul-terminated in all cases - minor KNF - use MAXHOSTNAMELEN over various other values/defines - be safe will buffers that hold hostnames
Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 19 18:10:58 1997 UTC (15 years, 7 months ago) by mycroft
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.2: +4 -4
lines
Diff to previous 1.2 (colored)
Test file type correctly, using S_IS*().
Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 12 09:58:23 1997 UTC (15 years, 7 months ago) by cjs
Branch: MAIN
Changes since 1.1: +76 -37
lines
Diff to previous 1.1 (colored)
* Add hostname to temporary file to avoid collisions when locking on an NFS volume and competing with the same pid on another machine. * Make locking on an NFS-moutned file work properly by checking link count. * Make sure correct errno is returned.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Oct 11 02:56:23 1997 UTC (15 years, 7 months ago) by cjs
Branch: MAIN
Add pidlock, ttylock, ttyunlock functions.