diff options
| author | dgp <dgp@users.sourceforge.net> | 2013-12-30 16:36:12 (GMT) |
|---|---|---|
| committer | dgp <dgp@users.sourceforge.net> | 2013-12-30 16:36:12 (GMT) |
| commit | 57dc79f34eccc3da2327cbd840b3c4c96c13e89e (patch) | |
| tree | fab9b12d8f685f94568b09e610301f83938c5166 /unix/tclUnixTest.c | |
| parent | ffb2a3d9b41ef59b084147f99731e8a9335f0f2a (diff) | |
| parent | 724d7b20d49b89df2f76ef22181cca990e691478 (diff) | |
| download | tcl-57dc79f34eccc3da2327cbd840b3c4c96c13e89e.zip tcl-57dc79f34eccc3da2327cbd840b3c4c96c13e89e.tar.gz tcl-57dc79f34eccc3da2327cbd840b3c4c96c13e89e.tar.bz2 | |
merge trunk
Diffstat (limited to 'unix/tclUnixTest.c')
| -rw-r--r-- | unix/tclUnixTest.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/unix/tclUnixTest.c b/unix/tclUnixTest.c index 21a7bad..4b0f369 100644 --- a/unix/tclUnixTest.c +++ b/unix/tclUnixTest.c @@ -566,12 +566,11 @@ TestforkObjCmd( "Cannot fork", NULL); return TCL_ERROR; } -#if !defined(HAVE_PTHREAD_ATFORK) - /* Only needed when pthread_atfork is not present. */ + /* Only needed when pthread_atfork is not present, + * should not hurt otherwise. */ if (pid==0) { Tcl_InitNotifier(); } -#endif Tcl_SetObjResult(interp, Tcl_NewIntObj(pid)); return TCL_OK; } |
