Replace pgid.c with set -m