The Following 2 Users Say Thank You to anidel For This Useful Post: | ||
|
2010-02-07
, 22:06
|
Posts: 17 |
Thanked: 14 times |
Joined on Jan 2010
@ London, UK
|
#262
|
|
2010-02-07
, 22:42
|
|
Posts: 1,743 |
Thanked: 1,231 times |
Joined on Jul 2006
@ Twickenham, UK
|
#263
|
The Following 6 Users Say Thank You to anidel For This Useful Post: | ||
|
2010-02-08
, 16:09
|
|
Posts: 1,743 |
Thanked: 1,231 times |
Joined on Jul 2006
@ Twickenham, UK
|
#264
|
The Following 7 Users Say Thank You to anidel For This Useful Post: | ||
|
2010-02-10
, 17:39
|
Posts: 5 |
Thanked: 4 times |
Joined on Jan 2010
|
#265
|
|
2010-02-10
, 18:08
|
|
Posts: 1,743 |
Thanked: 1,231 times |
Joined on Jul 2006
@ Twickenham, UK
|
#266
|
|
2010-02-10
, 18:31
|
Posts: 5 |
Thanked: 4 times |
Joined on Jan 2010
|
#267
|
|
2010-02-10
, 23:24
|
Posts: 5 |
Thanked: 4 times |
Joined on Jan 2010
|
#268
|
tmpfile = mkstemp(g_strdup(TMPDIR_TEMPLATE));
|
2010-02-10
, 23:30
|
|
Posts: 1,743 |
Thanked: 1,231 times |
Joined on Jul 2006
@ Twickenham, UK
|
#269
|
So, line 858 or so of xo-print.c (I may have messed up the line numbers very slightly with my debugging stuff) is
tmpfile is a char*, mkstemp returns a file handle. If, instead, you use mktemp, it gives you the file name, which is then what the later functions expect.Code:tmpfile = mkstemp(g_strdup(TMPDIR_TEMPLATE));
Kind of a silly mistake... not sure where it came from, but easy to fix. I can now export pdf files with text it them, and it'll get some good stress-testing over the next week with grading.
|
2010-02-12
, 01:20
|
|
Posts: 1,743 |
Thanked: 1,231 times |
Joined on Jul 2006
@ Twickenham, UK
|
#270
|
The Following 4 Users Say Thank You to anidel For This Useful Post: | ||
sorry about that..
Cool video zehjotkah, you also discovered a known (to me at least :P) bug in Xournal (Save As uses / as default storage directory instead of Documents, when you hit Save, it tried to store in / and you can't.)
That's already been fixed 'internally'.
Aniello