aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/fixfixes.c
diff options
context:
space:
mode:
authorTadek Kijkowski <tkijkowski@gmail.com>2016-09-30 16:36:18 +0000
committerJeff Law <law@gcc.gnu.org>2016-09-30 10:36:18 -0600
commit716028e405fab6526e3580bd060f896bb3672681 (patch)
tree05fe6333f5ee57032bb8dc163aabf2e6c703115d /fixincludes/fixfixes.c
parentaf2d4873785d2638c293edf822b26d532d3201aa (diff)
downloadgcc-716028e405fab6526e3580bd060f896bb3672681.zip
gcc-716028e405fab6526e3580bd060f896bb3672681.tar.gz
gcc-716028e405fab6526e3580bd060f896bb3672681.tar.bz2
check.tpl: Convert line endings to unix on test outputs
2016-09-30 Tadek Kijkowski <tkijkowski@gmail.com> * check.tpl: Convert line endings to unix on test outputs * fixfixes.c: Fixed passing file name to apply_fix when SEPARATE_FIX_PROC is defined * fixincl.c: Use system_with_shell, fixes for MinGW and DJGPP * fixlib.c, fixlib.h: Added system_with_shell and fix_path_separators From-SVN: r240664
Diffstat (limited to 'fixincludes/fixfixes.c')
-rw-r--r--fixincludes/fixfixes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fixincludes/fixfixes.c b/fixincludes/fixfixes.c
index 5616bf1..034e15d 100644
--- a/fixincludes/fixfixes.c
+++ b/fixincludes/fixfixes.c
@@ -790,7 +790,8 @@ main( int argc, char** argv )
return EXIT_FAILURE;
}
- apply_fix (pFix, argv[1]);
+ /* Second parameter of apply_fix is file name */
+ apply_fix (pFix, argv[2]);
fclose (stdout);
fclose (stdin);
unlink (argv[4]);