I've just pushed the attached to make grep use gnulib's new getprogname module instead of the classic "progname" module. This means there is no longer the classic "char const *program_name" variable, nor any need to call set_program_name.