modified:   tgstrdup.c