Some cleanup in appdomain.c. (#10686)
commitab69814598fbdc5fb66c59a0709eda2a61c3511f
authorJay Krell <jay.krell@cornell.edu>
Fri, 21 Sep 2018 02:38:50 +0000 (20 19:38 -0700)
committerLudovic Henry <luhenry@microsoft.com>
Fri, 21 Sep 2018 02:38:50 +0000 (20 22:38 -0400)
tree80990fbb6fd743198f043c553ecb08386cb8a028
parentc2113246b90a29113ca536e3cf89c5b0424a94e5
 Some cleanup in appdomain.c. (#10686)

* Some cleanup in appdomain.c.
 - Combine exit paths.
 - npaths is always incremented, so remove test against 0 (assuming no overflow).

* Change g_strdelimit first parameter from string to character.

* Fix C++ -- goto around init.

* PR: Restore legacy types gint, gchar.
mono/eglib/glib.h
mono/eglib/gstr.c
mono/eglib/test/string-util.c
mono/metadata/appdomain.c
mono/metadata/w32file-unix.c
mono/mini/aot-compiler.c
mono/utils/mono-io-portability.c
mono/utils/mono-path.c