How do I get the error code for fpStat() ?
The oldlinux.stat() function returns FALSE on failure, and sets LinuxError.
The libc.stat() function returns (-1) on failure, and sets errno.
The baseunix.fpStat() function returns (-1) on failure,
but it does not set LinuxError.
If I call fpStat() o
> How do I get the error code for fpStat() ?
>
> The oldlinux.stat() function returns FALSE on failure, and sets
> LinuxError.
>
> The libc.stat() function returns (-1) on failure, and sets errno.
>
> The baseunix.fpStat() function returns (-1) on failure,
> but it does not set LinuxError.
>
> If I
> How do I get the error code for fpStat() ?
>
> The oldlinux.stat() function returns FALSE on failure, and sets LinuxError.
>
> The libc.stat() function returns (-1) on failure, and sets errno.
>
> The baseunix.fpStat() function returns (-1) on failure,
> but it does not set LinuxError.
Linu
Hi,
Has the compiler a switch which I can set that if I get a runtime error or other
error, I receive the error line number and source file name too?
Tcc
___
fpc-devel maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-
> > The libc.stat() function returns (-1) on failure, and sets errno.
> >
> > The baseunix.fpStat() function returns (-1) on failure,
> > but it does not set LinuxError.
> >
> > If I call fpStat() on a non-existing file, "strace" shows
> > the error is ENOENT, but LinuxError is still zero.
> >
> >
Tamas Konkoly wrote:
Hi,
Has the compiler a switch which I can set that if I get a runtime error or other error, I receive the error line number and source file name too?
-gl
Please ask such questions at fpc-pascal, fpc-devel is about development
of fpc.
___
03-11-30 10.36, skrev Jonas Maebe följande:
>
> On 30-nov-03, at 02:29, Pedro Lopez-Cabanillas wrote:
>
>> Of course, if the compiler doesn't support this feature, because the
>> internal
>> handling of function calls, a compiler error message is better than a
>> program
>> crash.
>
> The probl
Hi,
A couple of weeks ago I've started a port of the JUnit framework to fpc as I
needed a run some tests over the fresh port of our EOS framework to Free
Pascal (http://camelos.sourceforge.net).
I've tried to adhere as much as possible to the original JUnit design to
preserve it's ease of use