Fix a weird bug in piping in some case if you pipe to no exists >pipe: then to a...
authorMagnus Olsen <magnus@greatlord.com>
Thu, 14 Jul 2005 18:16:57 +0000 (18:16 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Thu, 14 Jul 2005 18:16:57 +0000 (18:16 +0000)
commit3aae85b431d0f787c5ae3e3b85a815ca5bfe62d1
tree1d2bf0990bca6f7df085443f3f0c28390d7435a9
parent521a302ab8fef4f4f1ef2ca3508b31aa91c94e28
Fix a weird bug in piping in some case if you pipe to no exists >pipe: then to a exists >pipe: it did make cmd crash for createfile only SetLastErrror when it fails. and the old one was in the loop. to solv it is to rest the GetLastError code before it is call.

svn path=/trunk/; revision=16562
reactos/subsys/system/cmd/cmd.c