[1/3] winegcc: Add a trailing '\n' to the try_link() test file.
Francois Gouget
fgouget at free.fr
Fri Sep 6 07:33:17 CDT 2013
This stops the tested gcc command from issuing a warning on Solaris.
---
tools/winegcc/winegcc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index 969da3e..5cac73d 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -337,7 +337,7 @@ static int try_link( const strarray *prefix, const strarray *link_tool, const ch
strarray *link = strarray_dup( link_tool );
int ret;
- create_file( in, 0644, "int main(void){return 1;}" );
+ create_file( in, 0644, "int main(void){return 1;}\n" );
strarray_add( link, "-o" );
strarray_add( link, out );
--
1.8.4.rc3
More information about the wine-patches
mailing list