plan9fox/sys/src/cmd/dossrv
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
..
chat.c
dat.h dossrv: make GLONG() return ulong, handle getsect() error in dostat() 2018-12-23 22:43:29 +01:00
devio.c dossrv: use 64 bit vlong for sectors 2018-12-22 20:49:24 +01:00
dosfs.c pre-lib9p servers: fix incorrect Tversion handling 2020-08-01 15:27:28 +02:00
dosfs.h
dossubs.c Backed out changeset 2737b9af622b 2020-04-25 10:57:17 -07:00
errstr.h
fns.h dossrv, 9660srv, hjfs: stop *READING* standard *OUTPUT* with -s flag 2020-03-07 20:27:20 +01:00
iotrack.c Backed out changeset 2737b9af622b 2020-04-25 10:57:17 -07:00
iotrack.h dossrv: use 64 bit vlong for sectors 2018-12-22 20:49:24 +01:00
lock.c
mkfile
xfile.c dossrv: use 64 bit vlong for sectors 2018-12-22 20:49:24 +01:00
xfssrv.c dossrv, 9660srv, hjfs: stop *READING* standard *OUTPUT* with -s flag 2020-03-07 20:27:20 +01:00