modified:   chproc.c