*** HtmlOutputDev.cc.orig 2008-07-29 04:00:52.000000000 +0900 --- HtmlOutputDev.cc 2008-09-10 11:12:26.000000000 +0900 *************** *** 1457,1463 **** } else { ! GooString *str = basename(Docname); str->append("-outline.html"); output = fopen(str->getCString(), "w"); if (output == NULL) --- 1457,1463 ---- } else { ! GooString *str = Docname->copy(); str->append("-outline.html"); output = fopen(str->getCString(), "w"); if (output == NULL)