Script started on Wed 16 Jan 2008 02:50:59 AM EST elm -z -f /usr/spool/mail/lechner CASE = /usr/proj3/case LECHNER = /usr/cs/fac1/lechner PH = /usr/cs/fac1/lechner/public_html B2J = /usr/cs/fac1/lechner/public_html/COOL-BDE/bde2java/bde2java04f At alias HGrows: .aliases exits to .tcshrc i386-linux : java path is /usr/local/j2sdk1.4.1_01/bin:/usr/sbin:/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 HJWed Jan 16 02:50:59 EST 2008 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 LECHNER = /usr/cs/fac1/lechner 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: .login: calling resize: r999;999H6nset noglob; setenv COLUMNS '80'; setenv LINES '47'; unset noglob; .login exits to .tcshrc .tcshrc exits [mercury1](1)> xmkmflog.csh elm -z -f /usr/spool/mail/lechner CASE = /usr/proj3/case LECHNER = /usr/cs/fac1/lechner PH = /usr/cs/fac1/lechner/public_html B2J = /usr/cs/fac1/lechner/public_html/COOL-BDE/bde2java/bde2java04f At alias HGrows: .aliases exits to .tcshrc i386-linux : java path is /usr/local/j2sdk1.4.1_01/bin:/usr/sbin:/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 HJWed Jan 16 02:51:04 EST 2008 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 LECHNER = /usr/cs/fac1/lechner 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: .login: calling resize: r999;999H6nset noglob; setenv COLUMNS '80'; setenv LINES '47'; unset noglob; .login exits to .tcshrc .tcshrc exits xmkmflog.csh --> xmkmf -a building three Makefiles in bde, src and pr_util_log Building Makefiles WITH the log/replay option. xmkmf -a making 3 new Makefile[Log_$HOSTTYPE] files: mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/X11R6/lib/X11/config In file included from /usr/X11R6/lib/X11/config/Imake.tmpl:2175, from Imakefile.c:35: /tmp/IIf.gDlH4X:305: warning: "IMAKE_TEMPLATE" redefined Imakefile.c:34: warning: this is the location of the previous definition make Makefiles making Makefiles in ./pr_util_log... 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_log' 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_log' 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_log... make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_log' 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_log' 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_log... make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_log' gccmakedep -- -I/usr/include -I../include -I../pr_util_log -I.. -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_log' 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_log -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 bdeReplay.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/MakefileLog_i386-linux 00m-rw------- 1 fac 32247 Jan 16 02:51 00mMakefile00m -rw------- 1 fac 32247 Jan 16 02:51 00mMakefileLog_i386-linux00m mCopying bde/*/Makefile to bde/*/MakefileLog_i386-linux 00m-rw------- 1 fac 158364 Jan 16 02:51 00msrc/Makefile00m -rw------- 1 fac 158364 Jan 16 02:51 00msrc/MakefileLog_i386-linux00m m00m-rw------- 1 fac 28224 Jan 16 02:51 00mpr_util_log/Makefile00m -rw------- 1 fac 28224 Jan 16 02:51 00mpr_util_log/MakefileLog_i386-linux00m m Running gmake WITH log/replay in /usr/cs/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde making all in ././pr_util_log... make[1]: Entering directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_log' gcc -g -c -Wall -I/usr/include -I../include -I../pr_util_log -I.. -DGENV13 -DGENLOG ../pr_util_log/i386-linux/probj/pr_load.c -o ../pr_util_log/i386-linux/probj/pr_load.o gcc -g -c -Wall -I/usr/include -I../include -I../pr_util_log -I.. -DGENV13 -DGENLOG ../pr_util_log/i386-linux/probj/pr_free.c -o ../pr_util_log/i386-linux/probj/pr_free.o gcc -g -c -Wall -I/usr/include -I../include -I../pr_util_log -I.. -DGENV13 -DGENLOG ../pr_util_log/i386-linux/probj/pr_dump.c -o ../pr_util_log/i386-linux/probj/pr_dump.o gcc -g -c -Wall -I/usr/include -I../include -I../pr_util_log -I.. -DGENV13 -DGENLOG ../pr_util_log/i386-linux/probj/pr_delete.c -o ../pr_util_log/i386-linux/probj/pr_delete.o gcc -g -c -Wall -I/usr/include -I../include -I../pr_util_log -I.. -DGENV13 -DGENLOG ../pr_util_log/i386-linux/probj/pr_log.c -o ../pr_util_log/i386-linux/probj/pr_log.o gcc -g -c -Wall -I/usr/include -I../include -I../pr_util_log -I.. -DGENV13 -DGENLOG ../pr_util_log/i386-linux/probj/pr_stats.c -o ../pr_util_log/i386-linux/probj/pr_stats.o gcc -g -c -Wall -I/usr/include -I../include -I../pr_util_log -I.. -DGENV13 -DGENLOG ../pr_util_log/i386-linux/probj/pr_accessors.c -o ../pr_util_log/i386-linux/probj/pr_accessors.o gcc -g -c -Wall -I/usr/include -I../include -I../pr_util_log -I.. -DGENV13 -DGENLOG ../pr_util_log/i386-linux/probj/lut.c -o ../pr_util_log/i386-linux/probj/lut.o gcc -g -c -Wall -I/usr/include -I../include -I../pr_util_log -I.. -DGENV13 -DGENLOG ../pr_util_log/i386-linux/probj/dprint.c -o ../pr_util_log/i386-linux/probj/dprint.o ../pr_util_log/i386-linux/probj/dprint.c: In function `get_rcount': ../pr_util_log/i386-linux/probj/dprint.c:162: warning: type defaults to `int' in declaration of `type name' ../pr_util_log/i386-linux/probj/dprint.c:162: warning: type defaults to `int' in declaration of `type name' rm -f ../pr_util_log/i386-linux/probj/pr_util.a ar clq ../pr_util_log/i386-linux/probj/pr_util.a ../pr_util_log/i386-linux/probj/pr_load.o ../pr_util_log/i386-linux/probj/pr_free.o ../pr_util_log/i386-linux/probj/pr_dump.o ../pr_util_log/i386-linux/probj/pr_delete.o ../pr_util_log/i386-linux/probj/pr_log.o ../pr_util_log/i386-linux/probj/pr_stats.o ../pr_util_log/i386-linux/probj/pr_accessors.o ../pr_util_log/i386-linux/probj/lut.o ../pr_util_log/i386-linux/probj/dprint.o ranlib ../pr_util_log/i386-linux/probj/pr_util.a make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_log' 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 -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/bendpt.cc -c -o ../pr_util_log/i386-linux/obj/bendpt.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/bendptops.cc -c -o ../pr_util_log/i386-linux/obj/bendptops.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/bde.cc -c -o ../pr_util_log/i386-linux/obj/bde.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/buttonevent.cc -c -o ../pr_util_log/i386-linux/obj/buttonevent.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/captionops.cc -c -o ../pr_util_log/i386-linux/obj/captionops.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/cursor.cc -c -o ../pr_util_log/i386-linux/obj/cursor.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/dialog.cc -c -o ../pr_util_log/i386-linux/obj/dialog.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/display.cc -c -o ../pr_util_log/i386-linux/obj/display.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/draw.cc -c -o ../pr_util_log/i386-linux/obj/draw.o ../src/draw.cc:792: warning: converting to `short int' from `double' g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/edit.cc -c -o ../pr_util_log/i386-linux/obj/edit.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/fileio.cc -c -o ../pr_util_log/i386-linux/obj/fileio.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/font.cc -c -o ../pr_util_log/i386-linux/obj/font.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/fprint.cc -c -o ../pr_util_log/i386-linux/obj/fprint.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/graphobject.cc -c -o ../pr_util_log/i386-linux/obj/graphobject.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/graphops.cc -c -o ../pr_util_log/i386-linux/obj/graphops.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/handler.cc -c -o ../pr_util_log/i386-linux/obj/handler.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/help.cc -c -o ../pr_util_log/i386-linux/obj/help.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/hlink.cc -c -o ../pr_util_log/i386-linux/obj/hlink.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/infodialog.cc -c -o ../pr_util_log/i386-linux/obj/infodialog.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/infomessage.cc -c -o ../pr_util_log/i386-linux/obj/infomessage.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/init.cc -c -o ../pr_util_log/i386-linux/obj/init.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/initClasses.cc -c -o ../pr_util_log/i386-linux/obj/initClasses.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/leftmenu.cc -c -o ../pr_util_log/i386-linux/obj/leftmenu.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/leftmenu_cb.cc -c -o ../pr_util_log/i386-linux/obj/leftmenu_cb.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/linkops.cc -c -o ../pr_util_log/i386-linux/obj/linkops.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/menubar.cc -c -o ../pr_util_log/i386-linux/obj/menubar.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/menubar_cb.cc -c -o ../pr_util_log/i386-linux/obj/menubar_cb.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/msgBox.cc -c -o ../pr_util_log/i386-linux/obj/msgBox.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/nodeops.cc -c -o ../pr_util_log/i386-linux/obj/nodeops.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/select.cc -c -o ../pr_util_log/i386-linux/obj/select.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/smselect.cc -c -o ../pr_util_log/i386-linux/obj/smselect.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/strdup.cc -c -o ../pr_util_log/i386-linux/obj/strdup.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/text.cc -c -o ../pr_util_log/i386-linux/obj/text.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/textops.cc -c -o ../pr_util_log/i386-linux/obj/textops.o g++ -DDEBUG -DString_REDEFINE_NOT_NEEDED -DBDELOG -DBDE_SCHEMA="94sbde_schema.h" -DBDE_VIEW="94sbdeview" -DS94LC -DBDELOG -DLCWC -DDEFAULT_LIB_PATH=\""../lib"\" -g -Wall -pg -DDEBUG -Dlint -DLinuxArchitecture -I../include -I../pr_util_log -I/usr/include -I.. -I/usr/local/lib/g++-include ../src/bdeReplay.cc -c -o ../pr_util_log/i386-linux/obj/bdeReplay.o ../src/bdeReplay.cc: In function `void replay_read_next()': ../src/bdeReplay.cc:349: error: `clear_mem' was not declared in this scope ../src/bdeReplay.cc:349: warning: unused variable 'clear_mem' make[1]: *** [../pr_util_log/i386-linux/obj/bdeReplay.o] Error 1 make[1]: Leaving directory `/nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/src' gmake: *** [all] Error 2 gmake finished bdelog executable finished WITH log/replay. executables/i386-linux/bdelog.exe is a sym-link to pr_util_log/i386-linux/bin/bde.exe chmod: cannot access `pr_util_log/i386-linux/bin/bde.exe': No such file or directory 00mls: pr_util_log/i386-linux/bin/bde.exe: No such file or directory m00m4 lrwxrwxrwx 1 fac 34 Jan 16 02:51 40;31;01mexecutables/i386-linux/bdelog.exe00m -> 00mpr_util_log/i386-linux/bin/bde.exe00m m00m4 lrwxrwxrwx 1 fac 34 Jan 16 02:46 40;31;01mexecutables/i386-linux/bdelog.bak00m -> 00mpr_util_log/i386-linux/bin/bde.exe00m mWed Jan 16 02:51:45 EST 2008 [mercury1](2)> pwd /nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde [mercury1](3)> grep clear_mem src/*.cc src/bdeReplay.cc:349: clear_mem(hcg_buffer,BUFSIZE); [mercury1](4)> grep clear_mem src//include/*.h [mercury1](5)> grep clear_mem include/*.K$PL/9*.h [mercury1](6)> grep clear_mem $PL/9*.Kpr*.c /usr/cs/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_log/pr_load060307.c:157:void clear_mem(char *s,int n) /usr/cs/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_log/pr_load060307.c:296: clear_mem(hcg_buffer,BUFSIZE); /usr/cs/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_log/pr_load060307.c:824: clear_mem((char *)hcg_ts_list,sizeof(hcg_ts_list)); /usr/cs/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_log/pr_load060307.c:1211: clear_mem(tbl##elt,sizeof(struct tbl)) /usr/cs/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_log/pr_load.c:157:void clear_mem(char *s,int n) /usr/cs/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_log/pr_load.c:297: clear_mem(hcg_buffer,BUFSIZE); /usr/cs/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_log/pr_load.c:314: clear_mem(hcg_buffer,BUFSIZE); /usr/cs/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_log/pr_load.c:860: clear_mem((char *)hcg_ts_list,sizeof(hcg_ts_list)); /usr/cs/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde/pr_util_log/pr_load.c:1253: clear_mem(tbl##elt,sizeof(struct tbl)) [mercury1](7)> grep clear_memmem$PL/pr_load.cK14D$PL/pr_load.cK14D$PL/pr_load.cK14D$PL/pr_load.cK14D$PL/pr_load.cK14D$PL/pr_load.cK14D$PL/pr_load.cK14D$PL/pr_load.cK14D$PL/pr_load.cK14D$PL/pr_load.cK14D$PL/pr_load.cK14D$PL/pr_load.cK14D$PL/pr_load.cK14D$PL/pr_load.cK14Dv $PL/pr_load.c14Di $PL/pr_load.c14D $PL/pr_load.c14D =? n=%d \n", strlen(a), n);9;4Hstrncpy(a,b,n); a[n] = '\0'; return; } /* end GENPR_dependent compilation */ /* to avoid duplicate defs in chgen/src/lut.c - RJL050710 */ #endif /*********************************************************/ /* This routine sets a region of memory to 0 (zero). The 'standard' routine */20;1H/* memset() could be used, but apparently, it is not supplied with some7C*/21;1H/* UNIX systems.62C*/22;1H/*********************************************************/ void clear_mem(char *s,int n) {25;9Hfor (; n>0; n--)26;17H*s++ = '\0'; } /*********************************************************/ /* find_tbl_idx searches the hcg_table_seq_list for the specified table */ /* abbrev (which is assumed to be the first 2 chars of the pkey param).7C*/32;1H/* If successful, the global hcg_tbl_idx is set to its idx, and 1 is10C*/33;1H/* returned. Otherwise, the hcg_tbl_idx is set to 0, and 0 is returned. */34;1H/* This search is optimized using a form of caching. If the hcg_tbl_idx */35;1H/* already points to the correct table, the search is avoided.16C*/36;1H/* Not-found case set hcg_tbl_idx to 0 (changed to -1 - RJL 040521)10C*/37;1H/* -1 caused '!find_tbl_idx(table_abbrev)' errors at pr_load:1910-RJL040522 */ /*********************************************************/ /* ALWAYS check return value - 0 is valid for hcg_tbl_idx.14C*/ /* BUG?:strncpy appends '\0' terminator at a[len] regardless of strlen(a);*/ /* Caution: pkey accepts all or part of a keystring, e.g., its ttabbr prefix. */42;1H/* Caution: 0 is a valid hcg_tbl_idx value; return 0 implies hcg_tbl_idx = -1. **43;1H/ int find_tbl_idx(const char *pkey) ?1l47;1HK47;1H[mercury1](8)>1vi4src/bdeReplay.cc3;1H47;63HK47;1H:q! ?1h1;47rmm0mHJ47;1H"src/bdeReplay.cc" 877L, 41529C1;1H//********************************************************** // File9C: bdeReplay.cc // Description : // Created by : 02s592 // Routines : replay_log // // Uses: encode_token and do_command in pr_log.c // Edit history: // // $Log: bdeReplay.cc,v $ // Revision 1.14 2007/11/29 22:34:42 lechner // bdeReplay changes: // 288: void replay_read_next(void); // RJL 070302 (replaces hcg_read_next) // 324: In replay_log (:320-538:) // added two local vars: //11Cchar replayBuffer[BUFSIZE]; // no longer share hcg_buffer - RJL0703316;1H02 //11Cchar replayToken[BUFSIZE]; // no longer share token - RJL070302 // 352: Added //WArning: TBCHecked: simultaneous log and replay can't share loo19;1Hgfile_fp! // 356: In replay_read_next(); /* was hcg_read_next: reads line to replayBufff21;1Her[] */ //11C(using replayBuffer, replayToken instead of hcg_buffer, token) // 381: if (feof(logfile_fp)) { // (logfile_fp) replaces (hcg_ascii_fp) // 409: /* STATE1 Notes moved from here to end of file - RJL070302 */ // 460: break; // missing until today - RJL070302 // 463: * Confusion: pr_load canot know about updatedisplaylist(HGcurr); // 489: if (feof(logfile_fp)) { //(replaces hcg_ascii_fp) // 619: In void Keypress(...), added: // 633: else if ((strcmp (XKeysymToString(keysym), '\012') == 0) //11Csignal(SIGTERM,void (*function)(int)) (int) )); //TBD: CTRL_C code?31;1H// 708: Moved these to EOF: // * Design Notes from RJL - 020429: most replay_log code // // Revision 1.13 2006/03/14 04:12:37 lechner // In startreplay()Added checks on hcg_replay and hcg_log, // and disallowed nested replay. // // In Keypress() callback, added comments re: Keypress vs. Wait // timing control before switch(replayState) case STATE0. // // Added more comments. // // Revision 1.11 2006/01/21 02:35:04 lechner // Comment changes only. // mm0mHJ1;1Hint ReplayReady;0//3clients:1init.cc,rbdeReplay.ccTop1;1H47;1HK47;1H:349 //replay_read_next: check if state is non-reentrant //hcg_read_next scans one line of hcg_buffer from // fgets(hcg_buffer,BUFSIZE,hcg_ascii_fp); void replay_read_next(void); // RJL 070302 (like hcg_read_next) replayCode command; // enumerated for switch(command) extern void updatedisplaylist(struct HG *cHG); // in fileio.cc char replayBuffer[BUFSIZE]; //for replay_log client of replay_read_next() /******************************************************************************/15;1H/* replay_read_next flushes replayBuffer[], reads next line at logfile_fp, */16;1H/* then converts any control characters into spaces (e.g., Newline)11C*/17;1H/* Like pr_load.c:hcg_read_next, but for reading logfile command routines. */ /* (Currently, logfile is only replayed in bde/src - RJL08011616C*/19;1H/******************************************************************************/20;1Hvoid replay_read_next(void) { int i; clear_mem(hcg_buffer,BUFSIZE); fgets(replayBuffer,BUFSIZE,logfile_fp); for (i = 0; replayBuffer[i] != '\0'; i++) // replace CTRL-chars26;9Hif (replayBuffer[i] < ' ') replayBuffer[i] = ' '; } /************************************************************/ /* Function:replay_log8C(273-597)21C*/ /*58C*/ /* This is the callback function to parse one logfile line */ /* and execute the action of the log entry.17C*/ /* The arguments are saved by pr_replay for reference here */ /* Arguments: logfile - logfile to replay15C*/ /*12Cnear_realtime - flag26C*/ /*22C1 => replay in near realtime8C*/ /*22C0 => not real time18C*/ /* Return values: replayStatus = pr_replay() in load_data */ /*8C0 - success parsing and replay20C*/ /*7C-3 - cannot open file30C*/ /*7C-5 - logfile doesn't start with line "SR"10C*/ /*7C-7 - logfile doesn't end with line "SP"12C*/ /* "SR" is a precondition if pr_load delegates to pr_replay.*/ mm0mHJ1;1H//**********************************************************H47;63HK47;1H:1 // File9C: bdeReplay.cc // Description : // Created by : 02s592 // Routines : replay_log // // Uses: encode_token and do_command in pr_log.c // Edit history: // // $Log: bdeReplay.cc,v $ // Revision 1.14 2007/11/29 22:34:42 lechner // bdeReplay changes: // 288: void replay_read_next(void); // RJL 070302 (replaces hcg_read_next) // 324: In replay_log (:320-538:) // added two local vars: //11Cchar replayBuffer[BUFSIZE]; // no longer share hcg_buffer - RJL0703316;1H02 //11Cchar replayToken[BUFSIZE]; // no longer share token - RJL070302 // 352: Added //WArning: TBCHecked: simultaneous log and replay can't share loo19;1Hgfile_fp! // 356: In replay_read_next(); /* was hcg_read_next: reads line to replayBufff21;1Her[] */ //11C(using replayBuffer, replayToken instead of hcg_buffer, token) // 381: if (feof(logfile_fp)) { // (logfile_fp) replaces (hcg_ascii_fp) // 409: /* STATE1 Notes moved from here to end of file - RJL070302 */ // 460: break; // missing until today - RJL070302 // 463: * Confusion: pr_load canot know about updatedisplaylist(HGcurr); // 489: if (feof(logfile_fp)) { //(replaces hcg_ascii_fp) // 619: In void Keypress(...), added: // 633: else if ((strcmp (XKeysymToString(keysym), '\012') == 0) //11Csignal(SIGTERM,void (*function)(int)) (int) )); //TBD: CTRL_C code?31;1H// 708: Moved these to EOF: // * Design Notes from RJL - 020429: most replay_log code // // Revision 1.13 2006/03/14 04:12:37 lechner // In startreplay()Added checks on hcg_replay and hcg_log, // and disallowed nested replay. // // In Keypress() callback, added comments re: Keypress vs. Wait // timing control before switch(replayState) case STATE0. // // Added more comments. // // Revision 1.11 2006/01/21 02:35:04 lechner // Comment changes only. // mm0mHJ1;1Hint ReplayReady;0//3clients:1init.cc,rbdeReplay.ccTop1;1H47;63HK47;1H:/clear_mem //replay_read_next: check if state is non-reentrant //hcg_read_next scans one line of hcg_buffer from // fgets(hcg_buffer,BUFSIZE,hcg_ascii_fp); void replay_read_next(void); // RJL 070302 (like hcg_read_next) replayCode command; // enumerated for switch(command) extern void updatedisplaylist(struct HG *cHG); // in fileio.cc char replayBuffer[BUFSIZE]; //for replay_log client of replay_read_next() /******************************************************************************/15;1H/* replay_read_next flushes replayBuffer[], reads next line at logfile_fp, */16;1H/* then converts any control characters into spaces (e.g., Newline)11C*/17;1H/* Like pr_load.c:hcg_read_next, but for reading logfile command routines. */ /* (Currently, logfile is only replayed in bde/src - RJL08011616C*/19;1H/******************************************************************************/20;1Hvoid replay_read_next(void) { int i; clear_mem(hcg_buffer,BUFSIZE); fgets(replayBuffer,BUFSIZE,logfile_fp); for (i = 0; replayBuffer[i] != '\0'; i++) // replace CTRL-chars26;9Hif (replayBuffer[i] < ' ') replayBuffer[i] = ' '; } /************************************************************/ /* Function:replay_log8C(273-597)21C*/ /*58C*/ /* This is the callback function to parse one logfile line */ /* and execute the action of the log entry.17C*/ /* The arguments are saved by pr_replay for reference here */ /* Arguments: logfile - logfile to replay15C*/ /*12Cnear_realtime - flag26C*/ /*22C1 => replay in near realtime8C*/ /*22C0 => not real time18C*/ /* Return values: replayStatus = pr_replay() in load_data */ /*8C0 - success parsing and replay20C*/ /*7C-3 - cannot open file30C*/ /*7C-5 - logfile doesn't start with line "SR"10C*/ /*7C-7 - logfile doesn't end with line "SP"12C*/ /* "SR" is a precondition if pr_load delegates to pr_replay.*/ mm0mHJ1;1H//**********************************************************H47;63HK47;1H:1 // File9C: bdeReplay.cc // Description : // Created by : 02s592 // Routines : replay_log // // Uses: encode_token and do_command in pr_log.c // Edit history: // // $Log: bdeReplay.cc,v $ // Revision 1.14 2007/11/29 22:34:42 lechner // bdeReplay changes: // 288: void replay_read_next(void); // RJL 070302 (replaces hcg_read_next) // 324: In replay_log (:320-538:) // added two local vars: //11Cchar replayBuffer[BUFSIZE]; // no longer share hcg_buffer - RJL0703316;1H02 //11Cchar replayToken[BUFSIZE]; // no longer share token - RJL070302 // 352: Added //WArning: TBCHecked: simultaneous log and replay can't share loo19;1Hgfile_fp! // 356: In replay_read_next(); /* was hcg_read_next: reads line to replayBufff21;1Her[] */ //11C(using replayBuffer, replayToken instead of hcg_buffer, token) // 381: if (feof(logfile_fp)) { // (logfile_fp) replaces (hcg_ascii_fp) // 409: /* STATE1 Notes moved from here to end of file - RJL070302 */ // 460: break; // missing until today - RJL070302 // 463: * Confusion: pr_load canot know about updatedisplaylist(HGcurr); // 489: if (feof(logfile_fp)) { //(replaces hcg_ascii_fp) // 619: In void Keypress(...), added: // 633: else if ((strcmp (XKeysymToString(keysym), '\012') == 0) //11Csignal(SIGTERM,void (*function)(int)) (int) )); //TBD: CTRL_C code?31;1H// 708: Moved these to EOF: // * Design Notes from RJL - 020429: most replay_log code // // Revision 1.13 2006/03/14 04:12:37 lechner // In startreplay()Added checks on hcg_replay and hcg_log, // and disallowed nested replay. // // In Keypress() callback, added comments re: Keypress vs. Wait // timing control before switch(replayState) case STATE0. // // Added more comments. // // Revision 1.11 2006/01/21 02:35:04 lechner // Comment changes only. // // Revision 1.10 2005/10/23 07:32:51 lechner47;63H1,111CTop1;1Hmm0mHJmm0mHJ1;1H// // Revision 1.10 2005/10/23 07:32:51 lechner // Fixed typo in ONE comment line. // // Revision 1.9 2005/08/23 23:17:39 lechner // Only added one comment. // // Revision 1.8 2005/08/23 22:02:00 lechner // Moved typedef enum {...] ReplayStateValue; to prototypes.h // Moved declaration ReplayStateValue replayState; to init.cc // Replaced digits with enumerated names in switch(replayState). // // Revision 1.7 2005/06/19 03:41:38 lechner // Changed declaration type: (int --->) ReplayStateValue replayState; // enum 15;1HSTATE0/1/2 // // Revision 1.6 2005/06/08 02:12:24 lechner // Correction: added comments to startreplay() not startlog(). // // Revision 1.5 2005/06/08 02:09:09 lechner // Added comments to startlog function. // // Revision 1.4 2005/06/08 02:02:48 lechner // bdeReplay.cc is now compiled conditionally #ifdef BDELOG. // Moved function startreplay() to bdeReplay.cc from dialog.cc - // extern ReplayReady now has file scope for bdeReplay clients. // // Revision 1.3 2005/05/30 01:15:14 lechner // Added 'extern' prefix to decl'n extern int replayStatus; // // Revision 1.2 2005/05/03 05:43:09 lechner // Adding bdeReplay.cc from branch 01f522 to trunk tip. // // Revision 1.1.2.22 2004/09/08 00:28:08 lechner // cvs diff 040906 before commit: // > // RJL 040903: seems to be re-entered after each command // > // when keypress enabled for hominid appl: bde/test/keypresstest040903.18838;1H15 // >7C"Warning: replay started while logging (hcg_log == 1)\n"); // 400,403c402,408 // >15CclearObjects(); // >7Cassert(HGcurr!=NULL); // > //Assertion failed: HGcurr!=NULL, file bdeReplay.cc, line 403-RJL040904 // >7Cassert(hasType(HGcurr->HGid, HG)); // // Revision 1.1.2.21 2004/07/20 05:21:20 lechner47;63H42,111C4%1;1H2;18H.2.21 2004/07/20 05:21:20 lechner3;6HThis is a protective checkin of current (040719) bde tree to avoid backup//4;1Hrestore risks.5;6HI first used cvs rtag bde04s to tag the prior repository versions (circa App6;1Hr-May 2004).6;13HK7;6HThen I did cvs update and cvs ci, TBFollowed by cvs tag bde040720 bde. - RJJ8;1HL0407208;8HK9;6HPath to bde's current development version: $RL = ~/bde2alpha_rl/sandbox/bdee10;1Hcheckout/bde.10;14HK11;6HK12;6HRevision 1.1.2.20 2004/05/02 04:08:42 lechner13;6H- Added page of comments on replay_log;13;45HK14;6HAdded one 'break; // added 040404'14;40HK15;1H//15;3HK16;6HRevision 1.1.2.19 2004/04/03 03:28:54 lechner17;6H replayState initialized; aded comments.17;47HK18;6HK19;6HRevision 1.1.2.18 2003/10/22 07:10:46 lechner20;6HMajor additions to comments and note preambles before eliminating replay_loo21;1Hg fcn.21;7HK23;17H1.2.17 2003/10/14 01:45:41 lechner24;6HReplaced assert(hcg_log == 2); //==0 failed 021028 - delta TBD: 0 ---> 2225;1H by25;6HK26;6H#ifdef DEBUG printf("\nbdeReplay:l206: hcg_log value is %d\n", hcg_log);#enn27;1Hdif28;6HK29;6HRevision 1.1.2.16 2003/08/08 04:55:15 lechner29;53HK30;6HChanged assert(hcg_log == 0) to assert(hcg_log == 2)31;6HK32;6HRevision 1.1.2.15 2002/10/26 05:33:40 lechner32;54HK33;6HAdded a comment circa :280, and ain #ifdef BDELOG #Qendif pair there.34;6HK35;6HRevision 1.1.2.14 2002/09/29 05:35:26 lechner36;6HMinor comments; fixed dprint..() calls36;44HK37;6HK38;1H// Revision 1.1.2.13 2002/09/27 05:26:51 lechner39;6HMoved updatedisplaylist to fileio.cc.39;43HK40;6HK41;6HRevision 1.1.2.12 2002/09/21 06:24:52 lechner42;6HRemoved "assert(command == StartCmd); //<<<) ReplayStateVaa43;1Hlue replayState; // enum STATE0/1/244;31HK45;1H// Added the rcs line '// Revision 1.6 2005/06/08 02:12:24 lechner46;31HCorrection: added comments to startreplay() not st46;2HK46;1H1m@0m47;64H5412C81;1Hmm0mHJmm0mHJ1;1H// Added the rcs line '// // Added the rcs line '// Revision 1.6 2005/06/08 02:12:24 lechner // Added the rcs line '// Correction: added comments to startreplay() not stt4;1Hartlog(). // Added the rcs line '// // Added the rcs line '// Revision 1.5 2005/06/08 02:09:09 lechner // Added the rcs line '// Added comments to startlog function. // Added the rcs line '// // Added the rcs line '// Revision 1.4 2005/06/08 02:02:48 lechner // Added the rcs line '// bdeReplay.cc is now compiled conditionally #ifdef 11;1HBDELOG. // Added the rcs line '// Moved function startreplay() to bdeReplay.cc from 13;1Hdialog.cc - // Added the rcs line '// extern ReplayReady now has file scope for bdeReplaa15;1Hy clients. // Added the rcs line '// // Added the rcs line '// Revision 1.3 2005/05/30 01:15:14 lechner // Added the rcs line '// Added 'extern' prefix to decl'n extern int replaySS19;1Htatus; // Added the rcs line '// // Added the rcs line '// Revision 1.2 2005/05/03 05:43:09 lechner // Added the rcs line '// Adding bdeReplay.cc from branch 01f522 to trunk tii23;1Hp. // Added the rcs line '// // Added the rcs line '// Revision 1.1.2.22 2004/09/08 00:28:08 lechner // Added the rcs line '// cvs diff 040906 before commit: // Added the rcs line '// > // RJL 040903: seems to be re-entered after eachh28;1H command // Added the rcs line '// > // when keypress enabled for hominid appl: bde/tt30;1Hest/keypresstest040903.1815 // Added the rcs line '// >7C"Warning: replay started while logging (hcc32;1Hg_log == 1)\n"); // Added the rcs line '// 400,403c402,408 // Added the rcs line '// >15CclearObjects(); // Added the rcs line '// >7Cassert(HGcurr!=NULL); // Added the rcs line '// > //Assertion failed: HGcurr!=NULL, file bdeReplayy37;1H.cc, line 403-RJL040904 // Added the rcs line '// >7Cassert(hasType(HGcurr->HGid, HG)); // Added the rcs line '// // Added the rcs line '// Revision 1.1.2.21 2004/07/20 05:21:20 lechner // Added the rcs line '// This is a protective checkin of current (040719) 42;1Hbde tree to avoid backup/restore risks. // Added the rcs line '// I first used cvs rtag bde04s to tag the prior repoo44;1Hsitory versions (circa Apr-May 2004). // Added the rcs line '// Then I did cvs update and cvs ci, TBFollowed by cvv46;1Hs tag bde040720 bde. - RJL04072047;63H186,19C21%1;1H30CI first used cvs rtag bde04s to tag the prior repoo2;1Hsitory versions (circa Apr-May 2004).2;38HK3;31HThen I did cvs update and cvs ci, TBFollowed by cvv4;1Hs tag bde040720 bde. - RJL0407205;31HPath to bde's current development version: $RL = ~~6;1H/bde2alpha_rl/sandbox/bdecheckout/bde.6;40HK7;31HK8;31HRevision 1.1.2.20 2004/05/02 04:08:42 lechner9;31H- Added page of comments on replay_log;9;70HK10;31HAdded one 'break; // added 040404'10;65HK11;1H// Added the rcs line '//12;31HRevision 1.1.2.19 2004/04/03 03:28:54 lechne12;78HK13;1H// Added the rcs line '// replayState initialized; aded comments.14;31HK15;1H// Added the rcs line '// Revision 1.1.2.18 2003/10/22 07:10:46 lechner16;31HMajor additions to comments and note preambles beff17;1Hore eliminating replay_log fcn.17;32HK18;31HK19;1H// Added the rcs line '// Revision 1.1.2.17 2003/10/14 01:45:41 lechner20;31HReplaced assert(hcg_log == 2); //==0 failed 021121;1H028 - delta TBD: 0 ---> 2 by21;31HK22;31H#ifdef DEBUG printf("\nbdeReplay:l206: hcg_log vall23;1Hue is %d\n", hcg_log);#endif25;46H16 2003/08/08 04:55:1526;31HChanged assert(hcg_log == 0) to assert(hcg_log == 27;1H2)27;6HK28;1H// Added the rcs line '//29;31HRevision 1.1.2.15 2002/10/26 05:33:40 lechner29;78HK30;1H// Added the rcs line '// Added a comment circa :280, and an #ifdef BDELOG ##31;1Hendif pair there.31;18HK32;1H// Added the rcs line '//33;31HRevision 1.1.2.14 2002/09/29 05:35:26 lechner34;31HMinor comments; fixed dprint..() calls35;31HK36;31HRevision 1.1.2.13 2002/09/27 05:26:51 lechner36;78HK37;1H// Added the rcs line '// Moved updatedisplaylist to fileio.cc.38;31HK39;31HRevision 1.1.2.12 2002/09/21 06:24:52 lechner40;33Hmoved "assert(command == StartCmd); //<<< in bdeReplay.cc? // replay_log is called FROM the Xt callback routine in fileio.cc //#include //#include /* 080114: SIGTERM not declared in bdeReplay.cc ???*/ #include /* see if this helps avoid g++ errors ingraph.h */ //#include // TBD: CHeck if ReDraw is a callback wrapper or the real stuff -RJL // e.g., the callback docanvasexpossure simply calls ReDraw(). - RJL 040701 #include #include #include #include #include "graph.h" //class i'faces; #includes state.h, 94sbde_schema.h #include "bde.h" #include "prototype.h" // no longer declares replay_log-RJL 020501 //#include // in /usr/include/bits/; signal.h #includes it; #include // pr_log.c includes this also.47;63H251,19C29%1;1H//#include // in /usr/include/bits/; signal.h #includes it; 1;74HK2;1H#include // pr_log.c includes this also. // enumeration of command names as integers: typedef4;8HK5;1Henum {SetIntCmd,SetFltCmd,SetKeyCmd,SetStrCmd,WaitCmd,DeleteCmd,5;65HK6;1H StartCmd,FreeCmd,InitCmd,LoadCmd,StopCmd,ViewNameCmd,AddRowCmd } replayCode;7;20HK8;1HK9;1Hextern "C" {9;13HK10;2H* Should ONLY declare vars NOT referenced unless -DBDELOG and -DGENLOG */10;75HK11;2H* (i.e., not used without linking in bdeReplay.cc and pr_log.c RJL050606*/11;76HK12;1H/* in pr_load.c: */ void hcg_parse(char*, char*, int*); // extern char *viewname; /* RJL070524: now "94sbdeview", not: in schema..15;1Hh- RJL050602 */15;16HK16;1HreplayCode encode_token(char *token); replayCode do_command(char*, char*, int*);17;43HK18;3Hvoid hcg_read_next(void); --> replay_read_next - RJL07030218;61HK19;1H} /* extern "C" - moved up - RJL050606 */20;1HK21;1Hextern hcg_key HG_pkey;21;25HK22;1Hextern char *logfile;22;22HK23;1Hextern FILE* logfile_fp;23;25HK24;1Hextern char token[BUFSIZE]; extern int near_realtime;25;26HK26;1Hextern int take_endsnapshot; extern int replayStatus; /* return code - declare in schema.h iff -DGENLOG */ extern int idx;28;16HK29;1HK30;3H To compile and link bdeReplay.cc requires either // #define LOG 1 in configure.h on saturn/alpha // or xmkmf -a -DLOG 1 on mercury/linux.32;41HK33;1H// This #defines BDELOG for use in bde/src/*.cc33;48HK34;3H Functions: replay_log and client Keypress callback; // typedef enum{STATE0,STATE1,STATE2}ReplayStateValue; in prototype.h:36;1HK37;1Hextern ReplayStateValue replayState; // enum as STATE0/1/2 in init.cc37;73HK38;1HK39;1Hint ReplayReady; // clients: init.cc, bdeReplay.cc40;1HK41;1H//replay_read_next: check if state is non-reentrant //hcg_read_next scans one line of hcg_buffer from42;50HK43;1H// fgets(hcg_buffer,BUFSIZE,hcg_ascii_fp); ?1l47;1HK47;1H[mercury1](9)>5pwdwritten23C307,278C34%47;63HK47;63H307,278C34%19;27H47;1HK47;1H:qommand;8Cenumerated for switch(command)47;64H9011C341;1H47;65H12;1H47;65H23;1H47;65H34;1H47;65H45;1H47;65H56;1H47;65H67;1H47;65H7,0-18;1H47;65H8,1 9;1H47;65H910;1H47;63H30011;1H47;65H112;1H47;65H213;1H47;65H314;1H47;65H416;1H47;65H517;1H47;65H618;1H47;1H1m-- INSERT --0m47;63HK47;63H307,19C34%19;46r19;1H1;47r47;63HK47;63H307,19C34%19;1Hvoid clear_mem(char *s,int n)47;67H3019;30H;47;68H119;31H47;1HK19;30H47;63H307,308C34%19;30H47;67H2919;29H47;68H819;28H47;68H719;27H47;68H619;26H47;68H519;25H47;68H419;24H47;68H319;23H47;68H219;22H,int n);19;30HK19;22H47;68H319;23H47;68H419;24H47;68H519;25H47;68H619;26H47;68H719;27H);19;29HK19;27H47;63HK47;1H:w /nfs/galaxy/faculty/fac1/lechner/bde2alpha_rl/sandbox/bdeNT050526/bdegen13/bde [mercury1](10)> xmkmflog.csKps PID TTY TIME CMD 4265 ? 00:00:00 sshd 4266 ? 00:00:00 tcsh 4276 ? 00:00:00 nxnode 4442 ? 00:16:53 nxagent 4468 ? 00:00:58 nxnode 4484 ? 00:00:00 tcsh 4513 ? 00:00:00 gnome-session 4516 ? 00:00:00 dbus-launch 4517 ? 00:00:00 dbus-daemon-1 4519 ? 00:00:01 gconfd-2 4522 ? 00:00:00 gnome-keyring-d 4524 ? 00:00:00 bonobo-activati 4526 ? 00:00:00 gnome-settings- 4532 ? 00:00:41 gam_server 4541 ? 00:00:00 xscreensaver 4565 ? 00:00:00 metacity 4569 ? 00:00:01 nautilus 4571 ? 00:00:01 gnome-panel 4573 ? 00:00:00 pam-panel-icon 4575 ? 00:00:08 rhn-applet-gui 4579 ? 00:00:00 gnome-vfs-daemo 4594 ? 00:00:00 mapping-daemon 4596 ? 00:00:00 wnck-applet 4598 ? 00:00:00 mixer_applet2 4600 ? 00:00:00 clock-applet 4602 ? 00:00:00 notification-ar 5165 ? 00:00:05 gnome-terminal 5166 ? 00:00:00 gnome-pty-helpe 5167 pts/1 00:00:00 tcsh 10885 ? 00:00:00 sshd 10886 pts/3 00:00:00 tcsh 13163 pts/3 00:00:00 script 13164 pts/3 00:00:00 script 13165 pts/4 00:00:00 tcsh 13484 pts/4 00:00:00 ps [mercury1](11)> exit Script done on Wed 16 Jan 2008 02:54:30 AM EST