]> Savannah Git Hosting - gnulib.git/commit
dfa-tests: port to MSVC
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 Jul 2020 19:57:45 +0000 (12:57 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 Jul 2020 19:58:12 +0000 (12:58 -0700)
commit0b93877fc4bdcd84b78805e5917e4ab94684b9bc
treecdf33f481c7bc22e4344e5994fe66b91ce87db70
parent1990797800153088f32029877f503f3157aad9ed
dfa-tests: port to MSVC

Problem reported by Gisle Vanem in:
https://lists.gnu.org/r/bug-gnulib/2020-07/msg00159.html
Also, remove an unnecessary dependency on getprogname.
* modules/dfa-tests (Depends-on): Remove getprogname.
* tests/test-dfa-match-aux.c: Do not include getprogname.h.
(exit_status): New static var.
(dfawarn): Set it instead of exiting.
Do not declare as _Noreturn, to pacify MSVC.
(main): Return exit_status.
ChangeLog
modules/dfa-tests
tests/test-dfa-match-aux.c