summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
47aaceb)
Cygwin prints `0x0' instead of `(nil)'. Fortunately, this is the only
pointer value we can reliably check for, so handle this ourselves.
printf("%lu exception (val = %i)\n", exc_type, exc_i);
break;
} END_TRY;
printf("%lu exception (val = %i)\n", exc_type, exc_i);
break;
} END_TRY;
- printf("hello! __exc_list = %p\n", (void *)__exc_list);
+ printf("hello! __exc_list = ");
+ if (__exc_list) printf("%p", (void *)__exc_list);
+ else printf("(nil)");
+ putchar('\n');