-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | noncore/unsupported/qpdf/gooStub.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -36,13 +36,13 @@ APPS=$(LOCALAPPS) core/addressbook calculator clock datebook \ settings/sound \ settings/systemtime \ solitaire spreadsheet tetrix textedit \ todo wordgame embeddedkonsole launcher sysinfo \ parashoot snake citytime showimg netsetup tableviewer \ qipkg mindbreaker go qasteroids qcop fifteen keypebble today opiemail/converter opiemail \ - noncore/tictac noncore/opieftp noncore/drawpad noncore/kcheckers noncore/appskey + noncore/tictac noncore/opieftp noncore/drawpad noncore/kcheckers noncore/appskey noncore/qpdf DOCS = docs/src/opie-policy single: mpegplayer/libmpeg3 dynamic: $(APPS) diff --git a/noncore/unsupported/qpdf/gooStub.cpp b/noncore/unsupported/qpdf/gooStub.cpp index cc29685..edbea55 100644 --- a/noncore/unsupported/qpdf/gooStub.cpp +++ b/noncore/unsupported/qpdf/gooStub.cpp @@ -37,19 +37,19 @@ GBool openTempFile ( GString **name, FILE **f, char *mode, char *ext ) if ( !ext ) ext = ".tmp"; if (!( s = tmpnam ( 0 ))) return gFalse; - *name = new GString ( "qpdf_" ); - (*name)-> append ( s ); + *name = new GString ( s ); s = (*name)-> getCString ( ); if (( p = strrchr ( s, '.' ))) (*name)-> del ( p - s, (*name)-> getLength ( ) - ( p - s )); + (*name)-> append ( "_qpdf" ); (*name)-> append ( ext ); fd = open ((*name)-> getCString ( ), O_WRONLY | O_CREAT | O_EXCL, 0600 ); if ( fd < 0 || !( *f = fdopen ( fd, mode ))) { delete *name; |