Message-Id: Date: Tue, 28 Jul 98 13:11 +0200 From: Boon van der RJ To: dj AT delorie DOT com CC: djgpp-workers AT delorie DOT com Subject: 2.02alpha980712 doc-fix (longjmp examples) Precedence: bulk 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