plan9fox/sys/src/cmd/tapefs
kvik e5894dccea pre-lib9p servers: fix incorrect Tversion handling
version(5) says:

	If the server does not understand the client's version
	string, it should respond with an Rversion message (not
	Rerror) with the version string the 7 characters
	``unknown''.

Pre-lib9p file servers -- all except cwfs(4) -- do return Rerror.

lib9p(2) follows the above spec, although ignoring the next part
concerning comparison after period-stripping.  It assumes an
Fcall.version starting with "9P" is correctly formed and returns
the only supported version of the protocol, which seems alright.

This patch brings pre-lib9p servers in accordance with the spec.
2020-08-01 15:27:28 +02:00
..
32vfs.c
cpiofs.c tapefs: handle more cpio formats (thanks qrstuv) 2017-03-17 00:45:48 +01:00
fs.c pre-lib9p servers: fix incorrect Tversion handling 2020-08-01 15:27:28 +02:00
mkfile
tapefs.h
tapfs.c
tarfs.c
tpfs.c
util.c
v6fs.c
v10fs.c
zip.h
zipfs.c always zero initialize Tm structure for tm2sec() 2019-12-03 08:22:02 +01:00