Changeset 3477 for trunk/src/kash/exec.c


Ignore:
Timestamp:
Sep 17, 2020, 11:52:16 PM (5 years ago)
Author:
bird
Message:

kash: Use kHlpAssert instead of assert.h (debugger stops on the assertion rather than at exit process code).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/exec.c

    r3475 r3477  
    4646#include <stdlib.h>
    4747#include <stddef.h>
    48 #include <assert.h>
    4948
    5049/*
     
    307306                int suffix;
    308307                int isreg = stat_pc_exec_exts(psh, cmd, 0, &suffix);
    309                 assert(isreg > 0);
     308                kHlpAssert(isreg > 0);
    310309        }
    311310#endif
Note: See TracChangeset for help on using the changeset viewer.