GLOB_APPEND
gflgs |= GLOB_APPEND;
if (!(flags & GLOB_APPEND)) {
error = glob(buf, GLOB_APPEND | GLOB_BRACE | GLOB_NOSORT, NULL, pg);
GLOB_APPEND | GLOB_BRACE | GLOB_NOSORT, NULL, pg)) != 0) {
gflags = GLOB_APPEND;