Update g_pipe.cpp