Mail Archives: djgpp-workers/1998/07/28/07:12:59
Hello DJ (& -gpp workers),
here another documentation source patch, alpha 980712, in longjmp.txh
and setjmp.txh the examples are wrong. longjmp() _needs_ two arguments,
but had only 1, so i've added the second.
Below are patches, diff -c3 OLD NEW, of longjmp.txh and setjmp.txh
hth,
Robert.
*** src\libc\ansi\setjmp\longjmp.txh.org Mon Jul 10 02:39:00 1995
--- src\libc\ansi\setjmp\longjmp.txh Mon Jul 27 23:48:48 1998
***************
*** 29,34 ****
if (setjmp(j))
return;
do_something();
! longjmp(j);
@end example
--- 29,34 ----
if (setjmp(j))
return;
do_something();
! longjmp(j, 1);
@end example
*** src\libc\ansi\setjmp\setjmp.txh.org Mon Jul 10 02:39:00 1995
--- src\libc\ansi\setjmp\setjmp.txh Mon Jul 27 23:47:44 1998
***************
*** 28,33 ****
if (setjmp(j))
return;
do_something();
! longjmp(j);
@end example
--- 28,33 ----
if (setjmp(j))
return;
do_something();
! longjmp(j, 1);
@end example
- Raw text -