Message-Id: <3.0.1.32.19971126114905.007df720@yacker.xiotech.com> Date: Wed, 26 Nov 1997 11:49:05 -0600 To: djgpp-workers AT delorie DOT com From: Randy Maas Subject: patch for fse_open.c Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_880588145==_" Precedence: bulk --=====================_880588145==_ Content-Type: text/plain; charset="us-ascii" this requires the previous patch for fsext.c & fsext.h (some how this didn't go out earlier -- if anyone sees two of these, I apologize). Randy --=====================_880588145==_ Content-Type: text/plain; charset="us-ascii" Content-Disposition: attachment; filename="fse_open.dif" *** src/libc/fsext/fse_open.c~1 Sat Nov 25 18:49:58 1995 --- src/libc/fsext/fse_open.c Wed Nov 26 09:40:02 1997 *************** *** 1,3 **** --- 1,7 ---- /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ + /* Modified, 1997 Randall Maas -- + sends a "NULL" state variable to the open handlers. + */ + #include #include *************** *** 24,32 **** int __FSEXT_call_open_handlers(__FSEXT_Fnumber _function_number, ! int *rv, va_list _args) { FuncList *f; for (f=func_list; f; f=f->next) ! if (f->function(_function_number, rv, _args)) return 1; return 0; --- 28,36 ---- int __FSEXT_call_open_handlers(__FSEXT_Fnumber _function_number, ! int *rv, va_list _args) { FuncList *f; for (f=func_list; f; f=f->next) ! if (f->function(_function_number, rv, _args, NULL)) return 1; return 0; --=====================_880588145==_ Content-Type: text/plain; charset="us-ascii" --=====================_880588145==_--