Skip to content
Snippets Groups Projects
Commit ee44677d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Attempt to quick-fix the getdate problem by post-replacing the getdate.c

file after the bison/yacc process to add the fix Harshal Pradhan suggested.
parent 20057aee
No related branches found
No related tags found
No related merge requests found
......@@ -97,9 +97,8 @@ BUILT_SOURCES = $(srcdir)/getdate.c $(top_builddir)/lib/ca-bundle.h
# Say $(srcdir), so GNU make does not report an ambiguity with the .y.c rule.
$(srcdir)/getdate.c: getdate.y
cd $(srcdir) && \
$(YACC) $(YFLAGS) getdate.y; \
mv -f y.tab.c getdate.c
cd $(srcdir) && $(YACC) $(YFLAGS) getdate.y && \
sed -e 's:YYSTYPE yylval;:YYSTYPE yylval = {0}; /* post-bison fix */:' < y.tab.c > getdate.c && rm -f y.tab.c
$(top_builddir)/lib/ca-bundle.h: Makefile.in Makefile
@if test -f $@; then \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment