Re: Runtime errors with testglib.exe (Win32 build)
- From: Tor Lillqvist <tml iki fi>
- To: John Emmas <johne53 tiscali co uk>
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: Runtime errors with testglib.exe (Win32 build)
- Date: Thu, 7 Oct 2010 12:10:10 +0300
Having recently built it under Win32 (using Visual C++) I decided to run the test application
(testglib.exe). ÂEverything runs fine until I get to the File Functions test, at which point I keep getting
debug assertions.
That is a problem in the C library then, that it generates "debug
assertions" for something that is perfectly legal like close(-1).
Calling close() on a value that is not an open file descriptor is
pointless, but not an error.
But yeah, we could check that in testglib.c and don't call close() on
-1. Committed and pushed to master and glib-2-26.
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]