Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[GH #856] init the first emergeny_interp parent properly, hard tabs

Remove hard tabs. Init emergency_interp->parent_interpreter = NULL
  • Loading branch information...
commit 316916aa13c1890111b6de2beb6594fb04db49af 1 parent 24f8548
@rurban rurban authored
Showing with 6 additions and 5 deletions.
  1. +6 −5 src/interp/api.c
View
11 src/interp/api.c
@@ -195,14 +195,15 @@ Parrot_interp_allocate_interpreter(ARGIN_NULLOK(Interp *parent), INTVAL flags)
interp->parent_interpreter = parent;
else {
if (!emergency_interp) {
+ interp->parent_interpreter = NULL;
emergency_interp = interp;
- }
+ }
#ifdef PARROT_HAS_THREADS
- else {
- interp->parent_interpreter = emergency_interp;
- }
+ else {
+ interp->parent_interpreter = emergency_interp;
+ }
#else
- interp->parent_interpreter = NULL;
+ interp->parent_interpreter = NULL;
#endif
PMCNULL = NULL;
Please sign in to comment.
Something went wrong with that request. Please try again.