Overview
| Artifact ID: | e9242dba82b8071aeb7fb85791a4e32fe99070fe |
|---|---|
| Ticket: | 533862ffffffffffffffffffffffffffffffffff
VC Makefile doesn't work for Win98 |
| User & Date: | mefy on 2002-03-23 11:38:21 |
Changes
- icomment:
Logged In: YES user_id=209568 Ok, on to the next problem: All of the !if directives that use the exit code of find are broken. It appears that the exit code it gets is always zero. This is why it would always do a release build: it always takes the first !if branch which sets all the options to 0. I wrote a batch file to test the output of find and got strange results. Test.bat: echo "abc" | find "abc" if errorlevel 1 echo didn't find it. if errorlevel 0 echo found it. echo "abc" | find "123" if errorlevel 1 echo didn't find it. if errorlevel 0 echo found it. Result: >echo "abc" | find "abc" "abc" >if errorlevel 1 echo didn't find it. >if errorlevel 0 echo found it. found it. >echo "abc" | find "123" >if errorlevel 1 echo didn't find it. didn't find it. >if errorlevel 0 echo found it. found it. In the second case errorlevel is 0 and 1 at the same time! Dave, please try this out and let me know if you get the same output. I don't know if the problem is with find, nmake, or command.com. Mark Follett
- login: "mefy"
- mimetype: "text/plain"
- username: "mefy"