strcpy(basepath,p); 
strncpy(basepath,p,sizeof(basepath)-1); 
static void setDirAction(Widget w,XEvent *e,String *v,Cardinal *n) {  char *p, *p2;  struct stat st;  DirPath full;  XawListReturnStruct lrs;  p = XawDialogGetValueString(load_d);  if (NULL != (p2 = expandDir(p, &full)))    p = p2;  if(stat(p, &st) == -1) return;  if(S_ISDIR(st.st_mode)) {    strcpy(basepath,p);    p = strrchr(basepath, '/');    if (*(p+1) == '\0') *p = '\0';    lrs.string = "";    if(dirlist != NULL)    {	free(dirlist_top);	free(dirlist);	dirlist = NULL;    }    setDirList(load_flist, cwd_l, &lrs);  }}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/361cc5df1e14516b0a3eef7766539860da9a9721/xaw_i.c/clean/interface/xaw_i.c