author | sandman <sandman> | 2002-04-13 01:47:01 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-04-13 01:47:01 (UTC) |
commit | 05cbfb5963a1aa1ccd2b2cdf5d662e00c97c37b1 (patch) (unidiff) | |
tree | 8a90fb613395c9073cfd5361f26caa24897ea2e0 | |
parent | 98a1e3f36567639344f12932b629e526a8783aa8 (diff) | |
download | opie-05cbfb5963a1aa1ccd2b2cdf5d662e00c97c37b1.zip opie-05cbfb5963a1aa1ccd2b2cdf5d662e00c97c37b1.tar.gz opie-05cbfb5963a1aa1ccd2b2cdf5d662e00c97c37b1.tar.bz2 |
Enabled qpdf in main Makfile
Fixed import of wrong version gooStub.cpp
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | noncore/unsupported/qpdf/gooStub.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -39,7 +39,7 @@ APPS=$(LOCALAPPS) core/addressbook calculator clock datebook \ | |||
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 | ||
44 | DOCS = docs/src/opie-policy | 44 | DOCS = docs/src/opie-policy |
45 | single: mpegplayer/libmpeg3 | 45 | single: mpegplayer/libmpeg3 |
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 | |||
@@ -40,13 +40,13 @@ GBool openTempFile ( GString **name, FILE **f, char *mode, char *ext ) | |||
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 ); |