pike.git / src / modules / _Stdio / file.c

version» Context lines:

pike.git/src/modules/_Stdio/file.c:17:   #include "pike_macros.h"   #include "backend.h"   #include "fd_control.h"   #include "module_support.h"   #include "operators.h"   #include "pike_security.h"   #include "bignum.h"   #include "builtin_functions.h"   #include "gc.h"   #include "time_stuff.h" -  + #include "iobuffer.h"   #include "file_machine.h"   #include "file.h"   #include "pike_error.h"   #include "signal_handler.h"   #include "pike_types.h"   #include "threads.h"   #include "program_id.h"      #ifdef HAVE_SYS_TYPE_H   #include <sys/types.h>
pike.git/src/modules/_Stdio/file.c:5872:    *! In Pike 7.5 and later OOB operations are always present.    */      PIKE_MODULE_EXIT   {    exit_stdio_efuns();    exit_stdio_stat();       exit_stdio_udp();    exit_stdio_sendfile(); +  exit_stdio_buffer();       if(file_program)    {    free_program(file_program);    file_program=0;    }    if(file_ref_program)    {    free_program(file_ref_program);    file_ref_program=0;
pike.git/src/modules/_Stdio/file.c:6080:   #endif      PIKE_MODULE_INIT   {    struct object *o;       Pike_compiler->new_program->id = PROG_MODULE_STDIO_ID;       init_stdio_efuns();    init_stdio_stat(); -  +  init_stdio_buffer();    START_NEW_PROGRAM_ID(STDIO_FD);    ADD_STORAGE(struct my_file);      #define FILE_FUNC(X,Y,Z) \    PIKE_CONCAT(Y,_function_number) = ADD_FUNCTION(X,Y,Z,0);   #define FILE_OBJ tObjImpl_STDIO_FD   #include "file_functions.h"       MAP_VARIABLE("_read_callback",tMix,0,    OFFSETOF(my_file, event_cbs[PIKE_FD_READ]),PIKE_T_MIXED);