summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile2
-rw-r--r--noncore/unsupported/qpdf/gooStub.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4925974..7c5197a 100644
--- a/Makefile
+++ b/Makefile
@@ -38,9 +38,9 @@ APPS=$(LOCALAPPS) core/addressbook calculator clock datebook \
38 solitaire spreadsheet tetrix textedit \ 38 solitaire spreadsheet tetrix textedit \
39 todo wordgame embeddedkonsole launcher sysinfo \ 39 todo wordgame embeddedkonsole launcher sysinfo \
40 parashoot snake citytime showimg netsetup tableviewer \ 40 parashoot snake citytime showimg netsetup tableviewer \
41 qipkg mindbreaker go qasteroids qcop fifteen keypebble today opiemail/converter opiemail \ 41 qipkg mindbreaker go qasteroids qcop fifteen keypebble today opiemail/converter opiemail \
42 noncore/tictac noncore/opieftp noncore/drawpad noncore/kcheckers noncore/appskey 42 noncore/tictac noncore/opieftp noncore/drawpad noncore/kcheckers noncore/appskey noncore/qpdf
43 43
44DOCS = docs/src/opie-policy 44DOCS = docs/src/opie-policy
45single: mpegplayer/libmpeg3 45single: mpegplayer/libmpeg3
46 46
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
@@ -39,15 +39,15 @@ GBool openTempFile ( GString **name, FILE **f, char *mode, char *ext )
39 39
40 if (!( s = tmpnam ( 0 ))) 40 if (!( s = tmpnam ( 0 )))
41 return gFalse; 41 return gFalse;
42 42
43 *name = new GString ( "qpdf_" ); 43 *name = new GString ( s );
44 (*name)-> append ( s );
45 44
46 s = (*name)-> getCString ( ); 45 s = (*name)-> getCString ( );
47 if (( p = strrchr ( s, '.' ))) 46 if (( p = strrchr ( s, '.' )))
48 (*name)-> del ( p - s, (*name)-> getLength ( ) - ( p - s )); 47 (*name)-> del ( p - s, (*name)-> getLength ( ) - ( p - s ));
49 48
49 (*name)-> append ( "_qpdf" );
50 (*name)-> append ( ext ); 50 (*name)-> append ( ext );
51 51
52 fd = open ((*name)-> getCString ( ), O_WRONLY | O_CREAT | O_EXCL, 0600 ); 52 fd = open ((*name)-> getCString ( ), O_WRONLY | O_CREAT | O_EXCL, 0600 );
53 53