|
From: Thomas S. <t.s...@fz...> - 2007-11-23 14:46:15
|
the easiest way to solve the problem:
replace the output filename ('dest') in routine 'term_set_output' in
'term.c' with the fully expanded filename just before opening the file.
there would be two functions for this:
realpath() and canonicalize_file_name()
but
realpath() - it's manpage says one should avoid this function
canonicalize_file_name() - is only existing on systems with glibc
and - both are unable to do tilde-expansion.
this wouldn't be a problem, if they would return NULL in this case, but
realpath() produces a segmentation fault on some systems (e.g. SuSE 10.3).
i think, a remark in the manual that 'cd' shouldn't be used after 'set
output ...' and before 'plot ...' is the best one could do in the moment.
--
View this message in context: http://www.nabble.com/epslatex-outputs-into-different-directories-sometimes-tf4836648.html#a13913440
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|