[PATCH 5/5] cmd: rename reference file from .out to .exp to avoid clash with gnu make builtin rule

Dan Kegel dank at kegel.com
Tue Feb 16 15:08:06 CST 2010


Without this, editing the .cmd file and then running make would
cause make to overwrite the .out file with a copy of the .cmd file!
Evidently '.out' is not appropriate as a suffix for a nongenerated
source file.  The arbitrarily-chosen .exp suffix works better
(if anyone asks, it stands for 'expected output').
---
 programs/cmd/tests/batch.c               |    4 ++--
 programs/cmd/tests/rsrc.rc               |    4 ++--
 programs/cmd/tests/test_builtins.cmd.exp |   18 ++++++++++++++++++
 programs/cmd/tests/test_builtins.cmd.out |   18 ------------------
 4 files changed, 22 insertions(+), 22 deletions(-)
 create mode 100644 programs/cmd/tests/test_builtins.cmd.exp
 delete mode 100644 programs/cmd/tests/test_builtins.cmd.out
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-cmd-rename-reference-file-from-.out-to-.exp-to-avoid.patch
Type: text/x-patch
Size: 3726 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100216/4871c72f/attachment-0001.bin>


More information about the wine-patches mailing list