Hi Elias,
there is a new callback called install_get_line_from_user_cb() in libapl.h
that may be useful. The behaviour is a little different
because the lines would be
inserted before the content of other files while InputFile::files_todo.insert()
u
Hi,
I have changed back to Elias' initial code plus #including
unistd.h.
SVN 586.
/// Jüergen
On 03/31/2015 11:39 PM, Peter Teeson
wrote:
Hi Jürgen:
On 2015-03-31, at 12:53 PM,
I would much rather completely eliminate the use of the temporary file
here. The reason it's used is so that I can use
InputFile::files_todo.insert() on it.
Is there an alternative method by which I can queue a bunch of input lines
to be read by the interpreter?
Regards,
Elias
On 1 April 2015 at
Hi Jürgen:
On 2015-03-31, at 12:53 PM, Juergen Sauermann
wrote:
> Peter: Chances are that on your box mkstemp is declared in
> /usr/include/unistd.h instead of
> /usr/include/stdlib.h. If that is so then please let me know and I will
> revert the code and #include it.
You are correct…..
The
Hi Peter, Elias,
I have created something that MAY compile. However:
man mkstemp says:
mkstemps(): unstandardized, but appears on several other
systems.
man tmpnam (the one I used instead) says:
Never use this functi
GNUAPL Group
Shell Script Invocation Error Group
/Volumes/Data/Development/MyProjects/GNUAPL/apl-svn/src/TempFileWrapper.cc:45:5:
No matching function for call to 'strcpy'
/Volumes/Data/Development/MyProjects/GNUAPL/apl-svn/src/TempFileWrapper.cc:47:10:
No matching function for call to 'mkstemp'