]> git.pond.sub.org Git - empserver/commit
(execute): Clients can't reliably detect where a redirection ends
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 9 Dec 2007 17:06:03 +0000 (17:06 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 9 Dec 2007 17:06:03 +0000 (17:06 +0000)
commited8e0cd55272bb5c400a8efa1e8eec062ad3892d
tree55b77a572828d93756f8174538b92428a8682097
parent158f5f4b2a86eba3ca79a93a8dce8e8c71dec3ac
(execute): Clients can't reliably detect where a redirection ends
because the server doesn't send C_PROMPT.  The client simply rejects
such redirections since servcmd.c rev. 1.42.  Before it didn't, but
incorrectly extended the redirection until the end of the script, and
screwed up when there was more than one redirection in the execute.
Make the server reject such redirections as well, because that's
probably more useful and certainly less painful than documenting this
mess.
src/lib/player/player.c