Branch: Tag:

2001-03-12

2001-03-12 10:51:30 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

encapuslated backend in an object

Rev: lib/master.pike.in:1.146
Rev: src/Makefile.in:1.251
Rev: src/backend.c:1.64(DEAD)
Rev: src/backend.cmod:1.1
Rev: src/dumpmaster.pike:1.7
Rev: src/main.c:1.115
Rev: src/modules/call_out/.cvsignore:1.8(DEAD)
Rev: src/modules/call_out/Makefile.in:1.8(DEAD)
Rev: src/modules/call_out/acconfig.h:1.1(DEAD)
Rev: src/modules/call_out/call_out.c:1.40(DEAD)
Rev: src/modules/call_out/configure.in:1.7(DEAD)
Rev: src/modules/call_out/doc/_do_call_outs:1.1(DEAD)
Rev: src/modules/call_out/doc/call_out:1.1.1.1(DEAD)
Rev: src/modules/call_out/doc/call_out_info:1.1.1.1(DEAD)
Rev: src/modules/call_out/doc/find_call_out:1.1.1.1(DEAD)
Rev: src/modules/call_out/doc/remove_call_out:1.1.1.1(DEAD)
Rev: src/modules/call_out/test_co.pike:1.6(DEAD)
Rev: src/modules/call_out/testsuite.in:1.6(DEAD)
Rev: src/modules/spider/spider.c:1.103
Rev: src/test_co.pike:1.6
Rev: src/testsuite.in:1.394

5:   \*/   /**/   #include "global.h" - RCSID("$Id: main.c,v 1.114 2001/03/10 22:22:39 grubba Exp $"); + RCSID("$Id: main.c,v 1.115 2001/03/12 10:51:29 hubbe Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"
187:   #endif   #endif    -  init_backend(); +     master_file = 0;      #ifdef HAVE_GETENV
561:       apply(master(),"_main",2);    pop_stack(); -  -  backend(); +     num=0;    }    UNSETJMP(back);
594:      void low_init_main(void)   { +  init_backend();    init_iterators();    init_pike_searching();    init_error();
742: Inside #if defined(DO_PIKE_CLEANUP)
   zap_all_arrays();    zap_all_mappings();    +  exit_backend();    cleanup_shared_string_table();   #endif