Ignore:
Timestamp:
Dec 11, 2000, 8:54:20 AM (25 years ago)
Author:
umoeller
Message:

Coupla bugfixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/except.c

    r14 r15  
    516516    {
    517517        case XCPT_ACCESS_VIOLATION:
    518         {
    519518            fprintf(file, "\nXCPT_ACCESS_VIOLATION: ");
    520519            if (pReportRec->ExceptionInfo[0] & XCPT_READ_ACCESS)
     
    538537                    "             confusion with administering memory or error conditions \n"
    539538                    "             were not properly checked for.\n");
    540             break;
    541         }
     539        break;
    542540
    543541        case XCPT_INTEGER_DIVIDE_BY_ZERO:
    544         {
    545542            fprintf(file, "\nXCPT_INTEGER_DIVIDE_BY_ZERO.\n");
    546543            fprintf(file,
    547544                    "Explanation: An attempt was made to divide an integer value by zero,\n"
    548545                    "             which is not defined.\n");
    549             break;
    550         }
     546        break;
    551547
    552548        case XCPT_ILLEGAL_INSTRUCTION:
    553         {
    554549            fprintf(file, "\nXCPT_ILLEGAL_INSTRUCTION.\n");
    555550            fprintf(file,
    556551                    "Explanation: An attempt was made to execute an instruction that\n"
    557552                    "             is not defined on this machine's architecture.\n");
    558             break;
    559         }
     553        break;
    560554
    561555        case XCPT_PRIVILEGED_INSTRUCTION:
    562         {
    563556            fprintf(file, "\nXCPT_PRIVILEGED_INSTRUCTION.\n");
    564557            fprintf(file,
     
    566559                    "             is not permitted in the current machine mode or that\n"
    567560                    "             XFolder had no permission to execute.\n");
    568             break;
    569         }
     561        break;
    570562
    571563        case XCPT_INTEGER_OVERFLOW:
     
    575567                    "             significant bit. This is a sign of an attempt to store\n"
    576568                    "             a value which does not fit into an integer variable.\n");
     569        break;
    577570
    578571        default:
    579572            fprintf(file, "\nUnknown OS/2 exception number %d.\n", pReportRec->ExceptionNum);
    580573            fprintf(file, "Look this up in the OS/2 header files.\n");
     574        break;
    581575    }
    582576
Note: See TracChangeset for help on using the changeset viewer.