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 05:39, Peter Teeson <peter.tee...@icloud.com> wrote:

> Hi Jürgen:
>
> On 2015-03-31, at 12:53 PM, Juergen Sauermann <
> juergen.sauerm...@t-online.de> 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 following is in /usr/include/unistd.h starting at line701... on my box
> which is OS X 10.8.5
> I also checked OS X 10.9.5 and it's also there in the same file at the
> same location (+- a few lines).
> ….
> int mkpath_np(const char *path, mode_t omode)
> __OSX_AVAILABLE_STARTING(__MAC_10_8, __IPHONE_5_0); /* returns errno */
> int mkstemp(char *);
> int mkstemps(char *, int);
> char *mktemp(char *);
>
> HTH
>
> respect….
>
> Peter
>

Reply via email to