Mercurial > hg > truffle
comparison src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp @ 605:98cb887364d3
6810672: Comment typos
Summary: I have collected some typos I have found while looking at the code.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Fri, 27 Feb 2009 13:27:09 -0800 |
parents | a61af66fc99e |
children | d0994e5bebce |
comparison
equal
deleted
inserted
replaced
604:ec59443af135 | 605:98cb887364d3 |
---|---|
530 struct sigaction oldAct; | 530 struct sigaction oldAct; |
531 sigaction(sig, (struct sigaction *)0, &oldAct); | 531 sigaction(sig, (struct sigaction *)0, &oldAct); |
532 if (oldAct.sa_sigaction != signalHandler) { | 532 if (oldAct.sa_sigaction != signalHandler) { |
533 void* sighand = oldAct.sa_sigaction ? CAST_FROM_FN_PTR(void*, oldAct.sa_sigaction) | 533 void* sighand = oldAct.sa_sigaction ? CAST_FROM_FN_PTR(void*, oldAct.sa_sigaction) |
534 : CAST_FROM_FN_PTR(void*, oldAct.sa_handler); | 534 : CAST_FROM_FN_PTR(void*, oldAct.sa_handler); |
535 warning("Unexpected Signal %d occured under user-defined signal handler " INTPTR_FORMAT, sig, (intptr_t)sighand); | 535 warning("Unexpected Signal %d occurred under user-defined signal handler " INTPTR_FORMAT, sig, (intptr_t)sighand); |
536 } | 536 } |
537 } | 537 } |
538 | 538 |
539 if (pc == NULL && uc != NULL) { | 539 if (pc == NULL && uc != NULL) { |
540 pc = (address) uc->uc_mcontext.gregs[REG_PC]; | 540 pc = (address) uc->uc_mcontext.gregs[REG_PC]; |