Mail Archives: djgpp-workers/1997/11/26/12:46:09
--=====================_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 <stdlib.h>
#include <sys/fsext.h>
***************
*** 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==_--
- Raw text -