freebsd-skq/lib
jmallett b11abed927 Clean up error reporting in block.c, so that it gives honest error strings
for the sorts of errors we run into[1].  This also gives us room to put in a
vaguely appropriate casts to silence warnings since our compiler doesn't like
when we compare ssize_t to size_t[2].  Add a cast in sblock.c[3] to silence
a warning because of signed vs. size_t hell (again).  Clean up nearby
excessive parenthemutilation[4].

Reviewed by:	bde [2] [3]
Suggested by:	bde, many [1]
Submitted by:	bde [4]

An aside about [4], bde notes that we do not check for a negative value for
the fs bsize.  I'm nto going to do that in every situation we use it, one must
expect a reasonable program to pass down reasonable values.  Some foot shooting
protection I will tolerate, some I will not.  Also he suggests some possible
conditional improvements there, which I may take to heart.

PS: For me at least, this is now WARNS=5 clean...
2003-02-19 00:32:48 +00:00
..
compat Add libgmp.so.3 from 4.7-RELEASE CDs. 2003-02-17 17:26:03 +00:00
csu Very minor EOL whitespace diff-reducer. 2003-01-26 23:34:47 +00:00
libalias Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
libatm
libbind
libbz2
libc Update errors. 2003-02-18 22:54:42 +00:00
libc_r Enable just committed manual pages, update MLINKS 2003-02-13 22:12:56 +00:00
libcalendar
libcam english(4) police. 2002-12-27 12:15:40 +00:00
libcom_err
libcompat Consistently mark std(in|out|err) with .Dv, because that's how they 2002-12-04 18:57:46 +00:00
libcrypt english(4) police. 2002-12-27 12:15:40 +00:00
libdevinfo Expand length of pnpinfo and length fields since pccard pnpinfo can 2003-02-17 18:56:00 +00:00
libdevstat Remove include of <sys/dkstat.h> 2003-02-16 14:08:52 +00:00
libdisk Fix build error. 2003-02-06 14:26:41 +00:00
libedit The .Fn function 2003-02-06 11:25:03 +00:00
libexpat english(4) police. 2002-12-27 12:15:40 +00:00
libfetch No need for the OPENSSL_NO_KRB5 switch anymore. 2003-01-31 23:26:55 +00:00
libform
libftpio english(4) police. 2002-12-27 12:15:40 +00:00
libgeom Add appropriate MLINKS for functions documented in libgeom.3 2003-02-13 18:27:05 +00:00
libio
libipsec The .Fn function. Spelling. 2003-02-06 11:29:40 +00:00
libipx
libisc
libkse Deliver signals posted via an upcall to the appropriate thread. 2003-02-17 10:05:18 +00:00
libkvm Remove all use of the LOG2() macro/inline, undoing some non-optimal cruft 2003-01-11 01:09:51 +00:00
libmd
libmenu
libmilter
libmp Adjust for OpenSSL 0.9.7. 2003-01-28 23:03:15 +00:00
libncp
libncurses Actually check if stdbool.h exists when BOOTSTRAPPING. 2002-11-13 13:47:48 +00:00
libnetgraph Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
libopie Drop login.c and logwtmp.c from the library build. None of the apps 2002-10-04 00:24:31 +00:00
libpam Add an "allow_local" option which forces historical behaviour. 2003-02-16 13:01:03 +00:00
libpanel
libpcap
libpthread Deliver signals posted via an upcall to the appropriate thread. 2003-02-17 10:05:18 +00:00
libradius
librpcsvc make rstat(3) return an 'enum clnt_stat' rather than an 'int' to match 2002-10-01 22:02:06 +00:00
libsbuf
libsm
libsmb
libsmdb
libsmutil
libstand The zalloc pool's size calculation breaks if sbrk() does not return 2002-12-19 23:23:20 +00:00
libtacplus mdoc(7) police: formatting nits. 2002-11-29 15:57:50 +00:00
libtelnet
libufs Clean up error reporting in block.c, so that it gives honest error strings 2003-02-19 00:32:48 +00:00
libugidfw Correct a couple small typos. 2003-01-07 13:18:21 +00:00
libusbhid
libutil Now return NULLified struct in case of empty config file 2003-01-27 03:39:33 +00:00
libvgl Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
libwrap
libxpg4
liby
libypclnt Change the name for the local unix-socket based protocol 2002-12-16 22:24:26 +00:00
libz Actually implement gzip's -c option. minigzip now also doubles 2002-10-03 19:30:22 +00:00
msun o Implement C99 classification macros isfinite(), isinf(), isnan(), 2003-02-12 20:03:41 +00:00
ncurses Actually check if stdbool.h exists when BOOTSTRAPPING. 2002-11-13 13:47:48 +00:00
Makefile Hook libgeom in. 2003-02-08 15:17:49 +00:00
Makefile.inc