freebsd-skq/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 Change #include "DEFS.h" to <machine/asm.h>. 2001-10-25 01:30:54 +00:00
powerpc
sparc64 Ficl wants _setjmp and _longjmp. No need for weak symbols either. 2002-07-07 18:04:45 +00:00
__main.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
arp.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
assert.c Make the output from assert() look more like the example in the C99 2001-10-29 07:07:25 +00:00
bcd.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
bootp.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
bootp.h
bootparam.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
bootparam.h
bswap.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
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 Complete bzip2-1.0.2 import. 2002-02-01 16:33:40 +00:00
bzlib.h.diff Complete bzip2-1.0.2 import. 2002-02-01 16:33:40 +00:00
cd9660.c - Change the f_isdir field of struct file to be a flags field and two 2001-11-06 22:31:10 +00:00
close.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
closeall.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
dev.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
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 Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
gets.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
globals.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
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 Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
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 Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
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 Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
pager.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
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 Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
rpc.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
rpc.h
rpcv2.h
saioctl.h
sbrk.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
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 Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
strcasecmp.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
strdup.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
strerror.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
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 Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
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