bdenologlinuxmake060806.0036 Script started on Sun 06 Aug 2006 12:35:58 AM EDT path before .tcshrc: /usr/kerberos/bin /usr/local/j2sdk1.4.1_01/bin /usr/local/j2sdk1.4.1_01/bin /usr/opt/java122/bin /usr/local/bin /usr/bin /usr/bin/X11 /usr/ucb /bin /usr/common/bin/ . .tcshrc exits [mercury1](1)> ./xmkmfnolog.csh .tcshrc exits xmkmfnolog.csh --> xmkmf -a building three Makefiles \t\t in bde, src and pr_util_nolog Building Makefiles withOUT the log/replay option. xmkmf -a making 3 new Makefile[Nolog_$HOSTTYPE] files: mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/X11R6/lib/X11/config make Makefiles making Makefiles in ./pr_util_nolog... mv -f Makefile Makefile.bak make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde' make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde' make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_nolog' make[1]: Nothing to be done for `Makefiles'. make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_nolog' making Makefiles in ./src... mv -f Makefile Makefile.bak make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde' make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde' make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' make[1]: Nothing to be done for `Makefiles'. make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' make includes including in ././pr_util_nolog... make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_nolog' make[1]: Nothing to be done for `includes'. make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_nolog' including in ././src... make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' make[1]: Nothing to be done for `includes'. make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' make depend depending in ././pr_util_nolog... make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_nolog' gccmakedep -- -I/usr/include -I.. -I../include -I../pr_util_nolog -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -- make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_nolog' depending in ././src... make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' gccmakedep -- -I../include -I../pr_util_nolog -I/usr/include -I.. -I/usr/local/lib/g++-include -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -- bde.cc bendpt.cc bendptops.cc buttonevent.cc captionops.cc cursor.cc dialog.cc display.cc draw.cc edit.cc fileio.cc font.cc fprint.cc graphobject.cc graphops.cc handler.cc help.cc hlink.cc infodialog.cc infomessage.cc init.cc initClasses.cc leftmenu.cc leftmenu_cb.cc linkops.cc menubar.cc menubar_cb.cc msgBox.cc nodeops.cc select.cc smselect.cc strdup.cc text.cc textops.cc make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' xmkmf -a finished. ================================================= Copying bde/Makefile to bde/MakefileNolog_i386-linux 00m-rw------- 1 fac 32151 Aug 6 00:36 00mMakefile00m -rw------- 1 fac 32151 Aug 6 00:36 00mMakefileNolog_i386-linux00m mCopying bde/*/Makefile to bde/*/MakefileNolog_i386-linux 00m-rw------- 1 fac 154507 Aug 6 00:36 00msrc/Makefile00m -rw------- 1 fac 154507 Aug 6 00:36 00msrc/MakefileNolog_i386-linux00m m00m-rw------- 1 fac 28137 Aug 6 00:36 00mpr_util_nolog/Makefile00m -rw------- 1 fac 28137 Aug 6 00:36 00mpr_util_nolog/MakefileNolog_i386-linux00m m================================================= Running gmake withOUT log/replay in /usr/cs/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde making all in ././pr_util_nolog... make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_nolog' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_nolog' making all in ././src... make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -DDEBUG -pg -DLinuxArchitecture -I../include -I../pr_util_nolog -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/fileio.cc -c -o ../pr_util_nolog/i386-linux/obj/fileio.o ../src/fileio.cc: In function `void printrowcounts(char*)': ../src/fileio.cc:842: warning: array subscript has type `char' ../src/fileio.cc:843: warning: array subscript has type `char' ../src/fileio.cc:844: warning: array subscript has type `char' ../src/fileio.cc:845: warning: array subscript has type `char' ../src/fileio.cc:846: warning: array subscript has type `char' ../src/fileio.cc:847: warning: array subscript has type `char' ../src/fileio.cc:848: warning: array subscript has type `char' ../src/fileio.cc:849: warning: array subscript has type `char' ../src/fileio.cc:850: warning: array subscript has type `char' ../src/fileio.cc:851: warning: array subscript has type `char' ../src/fileio.cc: In function `void CreateNewGraph(_WidgetRec*, void*, XmSelectionBoxCallbackStruct*)': ../src/fileio.cc:1299: warning: array subscript has type `char' ../src/fileio.cc: In function `void CreateHGDialogBox(char*)': ../src/fileio.cc:1808: warning: array subscript has type `char' ../src/fileio.cc:1850: warning: array subscript has type `char' ../src/fileio.cc: In function `void Replay_LoadGraph(char*)': ../src/fileio.cc:2871: warning: array subscript has type `char' ../src/fileio.cc: At global scope: ../src/fileio.cc:664: warning: 'rcsid' defined but not used g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -DDEBUG -pg -DLinuxArchitecture -I../include -I../pr_util_nolog -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/graphops.cc -c -o ../pr_util_nolog/i386-linux/obj/graphops.o ../src/graphops.cc:184: warning: 'rcsid' defined but not used rm -f ../pr_util_nolog/i386-linux/bin/bde.exe g++ -o ../pr_util_nolog/i386-linux/bin/bde.exe -O2 -pipe -m32 -march=i386 -mtune=pentium4 -fno-strict-aliasing -pipe -L/usr/X11R6/lib ../pr_util_nolog/i386-linux/obj/bendpt.o ../pr_util_nolog/i386-linux/obj/bendptops.o ../pr_util_nolog/i386-linux/obj/bde.o ../pr_util_nolog/i386-linux/obj/buttonevent.o ../pr_util_nolog/i386-linux/obj/captionops.o ../pr_util_nolog/i386-linux/obj/cursor.o ../pr_util_nolog/i386-linux/obj/dialog.o ../pr_util_nolog/i386-linux/obj/display.o ../pr_util_nolog/i386-linux/obj/draw.o ../pr_util_nolog/i386-linux/obj/edit.o ../pr_util_nolog/i386-linux/obj/fileio.o ../pr_util_nolog/i386-linux/obj/font.o ../pr_util_nolog/i386-linux/obj/fprint.o ../pr_util_nolog/i386-linux/obj/graphobject.o ../pr_util_nolog/i386-linux/obj/graphops.o ../pr_util_nolog/i386-linux/obj/handler.o ../pr_util_nolog/i386-linux/obj/help.o ../pr_util_nolog/i386-linux/obj/hlink.o ../pr_util_nolog/i386-linux/obj/infodialog.o ../pr_util_nolog/i386-linux/obj/infomessage.o ../pr_util_nolog/i386-linux/obj/init.o ../pr_util_nolog/i386-linux/obj/initClasses.o ../pr_util_nolog/i386-linux/obj/leftmenu.o ../pr_util_nolog/i386-linux/obj/leftmenu_cb.o ../pr_util_nolog/i386-linux/obj/linkops.o ../pr_util_nolog/i386-linux/obj/menubar.o ../pr_util_nolog/i386-linux/obj/menubar_cb.o ../pr_util_nolog/i386-linux/obj/msgBox.o ../pr_util_nolog/i386-linux/obj/nodeops.o ../pr_util_nolog/i386-linux/obj/select.o ../pr_util_nolog/i386-linux/obj/smselect.o ../pr_util_nolog/i386-linux/obj/strdup.o ../pr_util_nolog/i386-linux/obj/text.o ../pr_util_nolog/i386-linux/obj/textops.o ../pr_util_nolog/i386-linux/probj/pr_util.a -lXm -lXt -lX11 -lm -lbsd make[1]: *** No rule to make target `../pr_util_nolog/i386-linux/bin/bde.exe.man', needed by `../pr_util_nolog/i386-linux/bin/bde.exe._man'. Stop. make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' gmake: *** [all] Error 2 gmake finished. bde executable finished withOUT log/replay. executables/i386-linux/bdenolog.exe is a sym-link to pr_util_nolog/i386-linux/bin/bde.exe 00m844 -rwxr-xr-x 1 fac 855370 Aug 6 00:36 01;32mpr_util_nolog/i386-linux/bin/bde.exe00m m00m4 lrwxrwxrwx 1 fac 36 Aug 6 00:36 01;05;37;41mexecutables/i386-linux/bdenolog.exe00m -> 01;05;37;41mpr_util_nolog/i386-linux/bin/bde.exe00m m00m4 lrwxrwxrwx 1 05f523 35 Oct 7 2005 01;05;37;41mexecutables/i386-linux/bde.exe00m -> 01;05;37;41mexecutables/i386-linux/bdenolog.exe00m m00m4 lrwxrwxrwx 1 fac 36 Aug 6 00:22 01;05;37;41mexecutables/i386-linux/bdenolog.bak00m -> 01;05;37;41mpr_util_nolog/i386-linux/bin/bde.exe00m mSun Aug 6 00:36:38 EDT 2006 [mercury1](2)> ./xmkmfnolog.csh path before .tcshrc: /usr/kerberos/bin /usr/local/j2sdk1.4.1_01/bin /usr/opt/java122/bin /usr/local/bin /usr/bin /usr/bin/X11 /usr/ucb /bin /usr/common/bin/ . elm -z -f /usr/spool/mail/lechner Path before setpath: /usr/kerberos/bin /usr/local/j2sdk1.4.1_01/bin /usr/opt/java122/bin /usr/local/bin /usr/bin /usr/bin/X11 /usr/ucb /bin /usr/common/bin/ . Path AFTER setenv PATH = /usr/opt/java122/bin /usr/local/bin /usr/bin /usr/bin/X11 /usr/ucb /bin /usr/common/bin/ . path and PATH after .tcshrc: /usr/opt/java122/bin /usr/local/bin /usr/bin /usr/bin/X11 /usr/ucb /bin /usr/common/bin/ . /usr/opt/java122/bin:/usr/local/bin:/usr/bin:/usr/bin/X11:/usr/ucb:/bin:/usr/common/bin/:. CASE = /usr/proj3/case LECHNER = /usr/cs/fac1/lechner PH = $LECHNER/public_html B2J = $LECHNER/public_html/COOL-BDE/bde2java03f .aliases exits to .tcshrc i386-linux : java path is \n\t /usr/local/j2sdk1.4.1_01/bin:/usr/opt/java122/bin:/usr/local/bin:/usr/bin:/usr/bin/X11:/usr/ucb:/bin:/usr/common/bin/:. .login: TERM before tset: vt100 .login: TERM after tset: vt100 HJSun Aug 6 00:37:04 EDT 2006 CLARIION = /nfs/clariion/cs_clariion1/cs_faculty/lechner CASE = /usr/proj3/case RL = /usr/cs/fac1/lechner/bde2alpha_rl/sandbox/bdecheckout/bde SJ = /usr/proj3/case/gen/ver_12/sjaganat/Test/bde $BDE = /usr/cs/fac1/lechner/bde2alpha_rl/sandbox/bdecheckout/bde/executables/i386-linux/bde.exe CVSROOT = /usr/proj3/case/95s523/95sbde/base/Master For bde2java: JAVAROOT: /usr/proj3/case/96s523/bde2jav1/base/Master KM = GENCPP = /usr/proj3/case/2kf522/kmiu/gencpp_final_2000Dec T2B = $CASE/95s523/bde2tt1/base End of .login: do cslog: mercury: who|wc: 12 Sun Aug 6 00:35:59 EDT 2006 mercury: who|wc: 12 Sun Aug 6 00:36:04 EDT 2006 mercury: who|wc: 12 Sun Aug 6 00:37:04 EDT 2006 ssh now auto-sets remote DISPLAY variable HOST= mercury ; DISPLAY= localhost:11.0 End of .login: resize TBD in .tcshrc: .login exits to .tcshrc .tcshrc exits xmkmfnolog.csh --> xmkmf -a building three Makefiles \t\t in bde, src and pr_util_nolog Building Makefiles withOUT the log/replay option. xmkmf -a making 3 new Makefile[Nolog_$HOSTTYPE] files: mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/X11R6/lib/X11/config make Makefiles making Makefiles in ./pr_util_nolog... mv -f Makefile Makefile.bak make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde' make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde' make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_nolog' make[1]: Nothing to be done for `Makefiles'. make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_nolog' making Makefiles in ./src... mv -f Makefile Makefile.bak make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde' make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde' make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' make[1]: Nothing to be done for `Makefiles'. make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' make includes including in ././pr_util_nolog... make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_nolog' make[1]: Nothing to be done for `includes'. make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_nolog' including in ././src... make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' make[1]: Nothing to be done for `includes'. make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' make depend depending in ././pr_util_nolog... make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_nolog' gccmakedep -- -I/usr/include -I.. -I../include -I../pr_util_nolog -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -- make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_nolog' depending in ././src... make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' gccmakedep -- -I../include -I../pr_util_nolog -I/usr/include -I.. -I/usr/local/lib/g++-include -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -- bde.cc bendpt.cc bendptops.cc buttonevent.cc captionops.cc cursor.cc dialog.cc display.cc draw.cc edit.cc fileio.cc font.cc fprint.cc graphobject.cc graphops.cc handler.cc help.cc hlink.cc infodialog.cc infomessage.cc init.cc initClasses.cc leftmenu.cc leftmenu_cb.cc linkops.cc menubar.cc menubar_cb.cc msgBox.cc nodeops.cc select.cc smselect.cc strdup.cc text.cc textops.cc make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' xmkmf -a finished. ================================================= Copying bde/Makefile to bde/MakefileNolog_i386-linux 00m-rw------- 1 fac 32151 Aug 6 00:37 00mMakefile00m -rw------- 1 fac 32151 Aug 6 00:37 00mMakefileNolog_i386-linux00m mCopying bde/*/Makefile to bde/*/MakefileNolog_i386-linux 00m-rw------- 1 fac 154507 Aug 6 00:37 00msrc/Makefile00m -rw------- 1 fac 154507 Aug 6 00:37 00msrc/MakefileNolog_i386-linux00m m00m-rw------- 1 fac 28137 Aug 6 00:37 00mpr_util_nolog/Makefile00m -rw------- 1 fac 28137 Aug 6 00:37 00mpr_util_nolog/MakefileNolog_i386-linux00m m================================================= Running gmake withOUT log/replay in /usr/cs/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde making all in ././pr_util_nolog... make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_nolog' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_nolog' making all in ././src... make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' make[1]: *** No rule to make target `../pr_util_nolog/i386-linux/bin/bde.exe.man', needed by `../pr_util_nolog/i386-linux/bin/bde.exe._man'. Stop. make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' gmake: *** [all] Error 2 gmake finished. bde executable finished withOUT log/replay. executables/i386-linux/bdenolog.exe is a sym-link to pr_util_nolog/i386-linux/bin/bde.exe 00m844 -rwxr-xr-x 1 fac 855370 Aug 6 00:36 01;32mpr_util_nolog/i386-linux/bin/bde.exe00m m00m4 lrwxrwxrwx 1 fac 36 Aug 6 00:37 01;05;37;41mexecutables/i386-linux/bdenolog.exe00m -> 01;05;37;41mpr_util_nolog/i386-linux/bin/bde.exe00m m00m4 lrwxrwxrwx 1 05f523 35 Oct 7 2005 01;05;37;41mexecutables/i386-linux/bde.exe00m -> 01;05;37;41mexecutables/i386-linux/bdenolog.exe00m m00m4 lrwxrwxrwx 1 fac 36 Aug 6 00:36 01;05;37;41mexecutables/i386-linux/bdenolog.bak00m -> 01;05;37;41mpr_util_nolog/i386-linux/bin/bde.exe00m mSun Aug 6 00:37:10 EDT 2006 [mercury1](3)> vi src/fileio.cc7D ?1h1;51rmm0mHJ51;1H"src/fileio.cc" 2898L, 115842C1;1HLP;} /* canvas-drawing-related functions : fileio.cc:1145- * * (TBD: move to new canvasio.cc ?) */ /*************************************************************************** * Description: * Menu entry callback routine. * Error handling: *8CNONE. * Side effects: *8CNONE. * * * John Richardson Tue Mar 15 (this header should be reformated) * * ifdefed out the code which checks for a dipak_undo file (I don't * know what that does) and changed the function so it just manages * exitdialog - * I did the same for the other appearance in Doexit - RJL *22CTBD: delete both code blocks - RJL 94/7/18 ***************************************************************************/ void doquit() {EP; XtManageChild(exitdialog); XtPopup(XtParent(exitdialog), XtGrabNone); LP;} /******************************************************************/ /* 1096-1194: #if 0 dosave redundant copy #endif removed -RJL060124 */ /******************************************************************/ /*************************************************************************** * Description: * clearObjects clears the object hierarchy by deleting the topobject, * and creates a new and empty one. * Local Clients: CreateNewGraph, donew, real_load, real_replay, RealDisplayGrapp40;1Hh * other clients: DeleteSelectedGraph() in graphops.cc * Error handling: *8CNONE. * Side effects: *8CNONE. ***************************************************************************/ void clearObjects() /* :1194: */ mm0mHJ1;3H//pr_init0and;pr_loadKinfile.8(Is fopen guaranteed to pass?-RJL060304) { //infile != NULL - Why not copy to current_filename right away? - RJL0603043;9Hchar* vdflist = GetBDEViewDefsFile();4;9Hchar* datflist = GetBDEDatFileList(infile); /* for (deprecated) pr_init((5;1H); */6;9Hint HGrowcnt; // for dprint's7;9HDP; dprints("vdflist = %s;", vdflist); dprints("datflist = %s\n", datflii8;1Hst);9;9Hdprintsd("infile = %s; check hcg_initialized = %d\n", infile, hcg_initiaa10;1Hlized);11;9Hif (hcg_initialized) {12;13Hdprintd("hcg_initialized = %d reset to 0 as pre-cond for pr_init\n",13;17Hhcg_initialized);14;13Hhcg_initialized = 0;15;9H}16;9Hdprints("Skip XmCreateSelectionDialog; load infile %s\n", infile);18;9Hpr_init(vdflist, datflist);19;9HDP;dprint("pr_load-->real_load-->printrowcounts(94sbdeview);debug-RJL060020;1H115\n");22;9Hpr_load("94sbdeview", infile); /* gdb ==> abort (bad viewname) RJL 0405523;1H21 */24;9Hprintrowcounts("94sbdeview"); // #ifdef DEBUG; new -RJL06022825;9HHGrowcnt = pr_rcount("94sbdeview", HG);//indep of HG* HG==NULL; see:1819926;1H numberofgraphs27;9HDP;dprintsd("pr_loaded: %s, HGrowcnt = %d\n", infile, HGrowcnt);//RJL060028;1H22829;9HDP;dprint("Calling pr_dump to bdeabort.dat \n");30;9HDP; pr_dump("94sbdeview", "bdeabort.dat", new_version, "w"); ////////////////(experimental code - MOve out of this function.) //////// //RJL040904: BAD if replay log from other apps which have 'VN otherviewname' cmdd34;1Hs? // New - RJL050909: try to enable logging at file-opening: // (regardless of hcg_log or hcg_replay? //TBD: Make this STARTLOG a bde command line option // BDELOG before STARTLOG avoids linux error: nested #if's. - RJL060127 //#ifdef BDELOG //#define STARTLOG 1 (cancel 060227 - RJL) //#define STARTLOG 0 //#endif // Try -DSTARTLOG on compile line? - RJL 060228.0100 // A temp fix to enable logging. It may already be a logfile command. // BDELOG includes log/replay code into pr_util_log. pr_startlog begins logging.46;1H// DP;fprintf(stdout, "Calling pr_startlog with infile = \"%s\"\n", infile))47;1H; // Error 060204: must pass viewname not viewdefs file. Change to viewname // pr_startlog(infile, GetBDEViewDefsFile()); //write checkpt infileDB1.dat? ?1l51;1HK51;1H[mercury1](4)>opwdy log to and replay from SAME logfile.txt!51;63H1808,4-9 62%25;9H51;66H927;9H51;63HK51;1H::51;2HK51;2H61C1809,4-9 62%27;9H51;68H3-827;8H51;63HK51;1H:q! /nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde [mercury1](5)> cd test [mercury1](6)> cd .. [mercury1](7)> lst total 4436 8 drwxr-xr-x 5 lechner 05f523 4096 Aug 6 00:38 src 28 -rw------- 1 lechner fac 24576 Aug 6 00:38 typescript 8 drwxr-xr-x 14 lechner 05f523 4096 Aug 6 00:37 pr_util_nolog 12 drwxr-xr-x 20 lechner 05f523 8192 Aug 6 00:37 . 16 -rw-r--r-- 1 lechner 05f523 10063 Aug 6 00:37 configure.h 36 -rw------- 1 lechner fac 32151 Aug 6 00:37 Makefile 36 -rw------- 1 lechner fac 32151 Aug 6 00:37 MakefileNolog_i386-linux 36 -rw------- 1 lechner fac 32151 Aug 6 00:36 Makefile.bak 12 drwxr-xr-x 4 lechner 05f523 8192 Aug 5 23:31 test 8 drwxr-xr-x 17 lechner 05f523 4096 Jul 25 00:43 pr_util_log 48 -rw------- 1 lechner 05f523 43180 Jul 25 00:43 MakefileLog_alpha 36 -rw------- 1 lechner fac 32168 Jul 25 00:40 MakefileLog_i386-linux 48 -rw------- 1 lechner 05f523 43169 Jul 25 00:38 MakefileNolog_alpha 8 drwxr-xr-x 3 lechner 05f523 4096 Jul 25 00:29 include 12 -rw-r--r-- 1 lechner 05f523 4936 Jul 24 23:04 dprint.h 8 -rw-r--r-- 1 lechner 05f523 2476 Jul 24 22:45 dprint.c 48 -rw------- 1 lechner fac 44576 Jul 21 01:27 bdemakenologlinux060721.0125 20 -rw-r--r-- 1 lechner 05f523 14621 Jul 20 21:12 Imakefile 76 -rw------- 1 lechner fac 68150 Jul 20 00:26 bdemakenologlinux060719.2340 76 -rw------- 1 lechner fac 68708 Jul 19 22:59 bdemakenologlinus060719.2245 8 -rw------- 1 lechner fac 680 Jul 19 21:53 rayreevesprimes060718.txt 8 -rw-r--r-- 1 lechner fac 818 Jul 19 21:18 README-fixinc [mercury1](8)> exit Script done on Sun 06 Aug 2006 12:39:05 AM EDT