Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 4 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Commits on Jul 18, 2012
@ivmai Fix GC_err_printf called from atexit hook by duping GC_stderr (Unix)
* misc.c: Include unistd.h if UNIX_LIKE (or CYGWIN32 or SYMBIAN) for
dup() prototype.
* misc.c (GC_init): Test "GC_FIND_LEAK" environment variable before
that for "GC_LOG_FILE" (since the block for the latter uses
GC_find_leak value).
* misc.c (GC_init): Invoke dup (only if UNIX_LIKE or CYGWIN32 or
SYMBIAN) for GC_stderr and GC_stdout in case of GC_find_leak but
when GC_stdout/err are not redirected to a file (to workaround
outputting to closed stderr/out file descriptor when GC_gcollect
(GC_print_callers) is called from atexit hook); add comment.
8d44d46
Commits on Jul 19, 2012
@ivmai Code refactoring of GC_x_printf (move shared code to macro)
* misc.c (GC_PRINTF_IMPL): New macro (used by GC_[err/log_]printf
only); copy code from GC_err_printf parametrizing output stream.
* misc.c (GC_printf, GC_err_printf, GC_log_printf): Replace shared
code with GC_PRINTF_IMPL macro usage.
2f1f407
Commits on Jul 21, 2012
@ivmai Dummy merge branch 'fix-logging-atexit-not-working'
(the solution seems to not fix the problem)
5c1a727
@ivmai TODO file: Update FIXME item about OpenBSD 578214c
Showing with 2 additions and 2 deletions.
  1. +2 −2 TODO
View
4 TODO
@@ -49,8 +49,8 @@ FreeBSD 9.0/x86_64 (gcc-4.2.1-20070831): gctest segfaults sometimes in
GC_typed_mark_proc if configured with --enable-threads=pthreads and
CFLAGS=-DDONT_ADD_BYTE_AT_END (shipped with Gauche Scheme).
-OpenBSD 4.9/i386 (and OpenBSD 5.1/i386) fails:
-GC_push_all_stacks: sp not set! FAIL: gctest, threadleaktest.
+OpenBSD 5.1/i386: leaktest fails (unless logging redirected to a file):
+cannot write to stderr from 'atexit' hook.
NetBSD 5.1/x86: threadkey_test hangs sometimes.

No commit comments for this range

Something went wrong with that request. Please try again.