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

version» Context lines:

pike.git/src/modules/_Stdio/stat.c:921:    push_object(o);   }      /*! @endclass    */   /*! @endmodule    */      /* ---------------------------------------------------------------- */    - void init_files_stat() + void init_stdio_stat()   {    INT_TYPE n=0;       MAKE_CONSTANT_SHARED_STRING (str_type_reg, "reg");    MAKE_CONSTANT_SHARED_STRING (str_type_dir, "dir");    MAKE_CONSTANT_SHARED_STRING (str_type_lnk, "lnk");    MAKE_CONSTANT_SHARED_STRING (str_type_chr, "chr");    MAKE_CONSTANT_SHARED_STRING (str_type_blk, "blk");    MAKE_CONSTANT_SHARED_STRING (str_type_fifo, "fifo");    MAKE_CONSTANT_SHARED_STRING (str_type_sock, "sock");
pike.git/src/modules/_Stdio/stat.c:1006:    tFunc(tNone,tArr(tOr(tString,tInt))),0);    ADD_FUNCTION("_values",stat_values,    tFunc(tNone,tArr(tOr(tString,tInt))),0);       set_init_callback (stat_init);       stat_program=end_program();    add_program_constant("Stat",stat_program,0);   }    - void exit_files_stat() + void exit_stdio_stat()   {    size_t i;       free_program(stat_program);    free_mapping(stat_map);       for (i = 1; i < STAT_ENUM_END; i++)    free_string (stat_index_strs[i]);       free_string (str_type_reg);    free_string (str_type_dir);    free_string (str_type_lnk);    free_string (str_type_chr);    free_string (str_type_blk);    free_string (str_type_fifo);    free_string (str_type_sock);    free_string (str_type_unknown);   }