summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-04-02 16:36:39 +0000
committerbde <bde@FreeBSD.org>1995-04-02 16:36:39 +0000
commit7caaf6f20052c6406feca4802b6bb8eb5dd59db2 (patch)
tree819ca4e25504b405c638df6f4cb96b1bd242011d /usr.bin/telnet
parent7d745e5a93e3605f065808ca83cb2a5012af188a (diff)
downloadFreeBSD-src-7caaf6f20052c6406feca4802b6bb8eb5dd59db2.zip
FreeBSD-src-7caaf6f20052c6406feca4802b6bb8eb5dd59db2.tar.gz
Make this actually work. It always failed in FreeBSD because it attempted
to open the mounted block device containing the directory to put the bad sector files in, and opening of mounted block devices hasn't been allowed since Net/2 or before. Attempt to open the raw device instead. Be more careful about long names. Use lstat() instead of stat() to search for block devices so that my symlink to the default floppy doesn't cause problems. Check for truncation of the block number when it is squeezed through the mknod() interface. The maximum used to be only 32767, but now it large enough.
Diffstat (limited to 'usr.bin/telnet')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud