1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/lib/libstand
Ian Dowse e3cce87239 Reset the seek pointer to 0 when a file is successfully opened,
since otherwise the initial seek offset will contain the directory
offset of the filesystem block that contained its directory entry.
This bug was mostly harmless because typically the directory is
less than one filesystem block in size so the offset would be zero.
It did however generally break loading a kernel from the (large)
kernel compile directory.

Also reset the seek pointer when a new inode is opened in read_inode(),
though this is not actually necessary now because all callers set
it afterwards.
2004-09-04 14:54:01 +00:00
..
alpha
arm Import _setjmp.S for arm in libstand. 2004-05-14 12:24:51 +00:00
i386
powerpc
sparc64
__main.c
arp.c
assert.c
bcd.c
bootp.c
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
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
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
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
inet_ntoa.c
ioctl.c
iodesc.h
libstand.3 Bump the document date, since the content changed today. 2004-08-06 15:29:54 +00:00
lseek.c
Makefile Update libstand makefile for zlib 1.2.1. 2004-07-01 00:01:26 +00:00
net.c
net.h
netif.c
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
qdivrem.c
quad.h
random.c
rarp.c
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
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
strdup.c
strerror.c
strtol.c
tftp.c
tftp.h
twiddle.c
udp.c
ufs.c Reset the seek pointer to 0 when a file is successfully opened, 2004-09-04 14:54:01 +00:00
write.c
zalloc_defs.h Define iaddr_t and saddr_t for arm. 2004-05-14 13:32:13 +00:00
zalloc_malloc.c Use signed char cast to avoid out-of-range error on PowerPC (which has 2004-02-25 00:52:14 +00:00
zalloc_mem.h
zalloc_protos.h
zalloc.c
zutil.h.diff