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 Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
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 Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
tapefs.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
tapfs.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
tarfs.c tar, tarfs: implement longname support 2015-05-19 12:39:45 +02:00
tpfs.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
util.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
v6fs.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
v10fs.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
zip.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
zipfs.c always zero initialize Tm structure for tm2sec() 2019-12-03 08:22:02 +01:00