]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
cmd: fix stdin command ordering and related stuff
authorbones_was_here <bones_was_here@xonotic.au>
Sun, 31 Dec 2023 20:55:03 +0000 (06:55 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Wed, 3 Jan 2024 00:36:23 +0000 (10:36 +1000)
commit952aed9fee04278bc7f9857e3b8e8007d64894b8
tree6246a7d632058fc1823f0e3ab4c7cbce59189ac9
parent247234d283ef847fb5dedb8f18eb887003ba2c4f
cmd: fix stdin command ordering and related stuff

Fixes bug introduced in d217d6b9ba9012bc374ac0d44d48422b7b13b755 where
multiline stdin execution order was reversed.

Retrieves FD of stdin stream rather than assuming it will always be 0.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
cmd.c
sys_shared.c