1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

Fix up a couple issues with multi-core builds and 2 race conditions

This commit is contained in:
Jon Trulson 2019-11-22 13:42:02 -07:00
parent 89f91f0091
commit 264871cefb
3 changed files with 4 additions and 3 deletions

1
cde/.gitignore vendored
View file

@ -478,6 +478,7 @@ programs/dtcm/libDtCmP/getdate.c
programs/dtcm/server/parser.c
programs/dtcm/server/parser.h
programs/dtcm/server/rpc.cmsd
programs/dtcm/server/y.tab*
# programs/dtconfig
programs/dtconfig/hp/dtconfig

View file

@ -26,7 +26,7 @@ rpc_cmsd_SOURCES = parser.c access.c callback.c cmscalendar.c \
lookup.h rpcextras.h v5ops.h
BUILT_SOURCES = parser.c parser.h
CLEANFILES = parser.c parser.h
CLEANFILES = parser.c parser.h y.tab.c y.tab.h
AM_YFLAGS = -d
@ -34,5 +34,4 @@ parser.c parser.h: parser.y
$(YACC) $(AM_YFLAGS) $<
$(SED) -e "s/yy/yyy/g" -e "/# line/d" y.tab.c > parser.c
$(SED) -e 's/yy/yyy/g' y.tab.h > parser.h
$(RM) y.tab.c y.tab.h

View file

@ -61,7 +61,8 @@ SYM2NUM_CMD = CPP=$(GENCPP) $(KSH) sym2num
BUILT_SOURCES = dtprintinfo_cat.h dtprintinfo_msg.h dtprintinfo.msg
CLEANFILES = $(BUILT_SOURCES)
dtprintinfo_msg.h dtprintinfo.msg: dtprintinfo.msg.src
# this will also create dtprintinfo_msg.h
dtprintinfo.msg: dtprintinfo.msg.src
$(RM) dtprintinfo_msg.h dtprintinfo.msg
$(SYM2NUM_CMD) dtprintinfo dtprintinfo.msg.src > dtprintinfo.msg