--- ./testsuite/testsuite.cpp~ 2009-02-22 08:30:14.000000000 +0900 +++ ./testsuite/testsuite.cpp 2010-08-25 23:51:19.000000000 +0900 @@ -853,7 +853,11 @@ break; case 'd': if(optarg[0] != '/') { +#if 0 char * dir = get_current_dir_name(); +#else + char * dir = getwd(NULL); +#endif download_dir = dir; download_dir += '/'; download_dir += optarg;