Commit 48a259fc by Jason Merrill

* fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.

From-SVN: r33860
parent 32a4595e
2000-05-11 Jason Merrill <jason@casey.cygnus.com>
* fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
2000-05-11 Zack Weinberg <zack@wolery.cumb.org> 2000-05-11 Zack Weinberg <zack@wolery.cumb.org>
* fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary. * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
...@@ -27,7 +31,7 @@ Thu May 11 22:28:05 2000 Denis Chertykov <denisc@overta.ru> ...@@ -27,7 +31,7 @@ Thu May 11 22:28:05 2000 Denis Chertykov <denisc@overta.ru>
2000-05-11 Bruce Korb <bkorb@gnu.org> 2000-05-11 Bruce Korb <bkorb@gnu.org>
* fixinc/fixfixes.c(double_slash_fix): obsolete * fixinc/fixfixes.c (double_slash_fix): obsolete
(else_endif_label_fix): obsolete (else_endif_label_fix): obsolete
(format_fix): new, unused as yet (format_fix): new, unused as yet
(main): obsolete (main): obsolete
...@@ -38,7 +42,7 @@ Thu May 11 22:28:05 2000 Denis Chertykov <denisc@overta.ru> ...@@ -38,7 +42,7 @@ Thu May 11 22:28:05 2000 Denis Chertykov <denisc@overta.ru>
Added support for "make check". Added support for "make check".
* fixinc/check.diff: base diff file (needs work!!) * fixinc/check.diff: base diff file (needs work!!)
* fixinc/check.tpl: quiet the fixup output * fixinc/check.tpl: quiet the fixup output
* fixinc/fixtests.c(main): obsolete * fixinc/fixtests.c (main): obsolete
* fixinc/fixincl.sh: don't bother copying fixincl to .. * fixinc/fixincl.sh: don't bother copying fixincl to ..
* fixinc/fixincl.tpl: provide for arguments to c_fix routines * fixinc/fixincl.tpl: provide for arguments to c_fix routines
......
...@@ -405,7 +405,7 @@ run_compiles () ...@@ -405,7 +405,7 @@ run_compiles ()
/* Allow machine name tests to be ignored (testing, mainly) */ /* Allow machine name tests to be ignored (testing, mainly) */
if ((*pz_machine == '\0') || (*pz_machine == '*')) if (pz_machine && ((*pz_machine == '\0') || (*pz_machine == '*')))
pz_machine = (char*)NULL; pz_machine = (char*)NULL;
/* FOR every fixup, ... */ /* FOR every fixup, ... */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment