freebsd-nq/lib/libstand
John Baldwin fb6b710c39 Clean up error handling in libstand filesystem code to be more consistent:
- bzipfs and gzipfs now properly return errno values directly from their
  read routines rather than returning -1.
- missing errno values on error returns for the seek routines on almost
  all filesystems were added.
- fstat() now returns -1 if an error occurs rather than ignoring it.
- nfs's readdir() routine now reports valid errno values if an error or
  EOF occurs rather than EPERM  (It was just returning 0 for success and
  1 for failure).
- nullfs used the wrong semantics for every function besides close() and
  seek().  Getting it right for close() appears to be an accident at that.
- read() for buffered files no longer returns 0 (EOF) if an error occurs,
  but returns -1 instead.
2004-01-21 20:12:23 +00:00
..
alpha
i386
powerpc
sparc64 Ficl wants _setjmp and _longjmp. No need for weak symbols either. 2002-07-07 18:04:45 +00:00
__main.c
arp.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
assert.c
bcd.c
bootp.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
bootp.h
bootparam.c
bootparam.h
bswap.c
bzipfs.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
bzlib_private.h.diff Restore bzip2(1) support in loader(8) after Peter's renames of 2003-04-25 06:44:56 +00:00
bzlib.c.diff
bzlib.h.diff
cd9660.c
close.c
closeall.c
dev.c
dosfs.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
dosfs.h
environment.c Preserve the constness of the value argument passed to env_setenv() as 2003-10-26 04:04:12 +00:00
ether.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
ext2fs.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
fstat.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
getopt.c
gets.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
globals.c
gzipfs.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
if_ether.h
in_cksum.c Update from NetBSD 1.3 -> 1.6. Most notable, rev 1.6: 2002-06-29 09:00:47 +00:00
inet_ntoa.c
ioctl.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
iodesc.h
libstand.3 mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
lseek.c
Makefile Removed duplicate SRCS. 2004-01-11 17:23:31 +00:00
net.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
net.h
netif.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
netif.h
nfs.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
nfsv2.h
nullfs.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
open.c
pager.c
printf.c Sync up with kern/subr_prf.c. This adds %ll, %j, %q, %z, etc. 2003-04-06 05:25:48 +00:00
qdivrem.c Add __divdi3() and __moddi3() to libstand. We will need them for UFS2. 2002-05-13 13:31:20 +00:00
quad.h Remove __P() usage. 2002-03-21 23:54:04 +00:00
random.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
rarp.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
read.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
readdir.c
rpc.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
rpc.h
rpcv2.h
saioctl.h
sbrk.c
splitfs.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
stand.h - Print out line number in a panic message using %d rather than %p. Line 2004-01-15 18:35:32 +00:00
stat.c
strcasecmp.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
strdup.c
strerror.c
strtol.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
tftp.c Fix a machine check abort caused by the EFI loader trying to open a 2003-03-03 00:58:47 +00:00
tftp.h
twiddle.c
udp.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
ufs.c Clean up error handling in libstand filesystem code to be more consistent: 2004-01-21 20:12:23 +00:00
write.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
zalloc_defs.h Trust the code more than the comment(s) and correct some false 2003-04-12 07:36:44 +00:00
zalloc_malloc.c - Print out line number in a panic message using %d rather than %p. Line 2004-01-15 18:35:32 +00:00
zalloc_mem.h
zalloc_protos.h
zalloc.c The zalloc pool's size calculation breaks if sbrk() does not return 2002-12-19 23:23:20 +00:00
zutil.h.diff Reimplement malloc/free debugging that includes the offending file:line 2002-07-20 04:18:20 +00:00