From: drl7x Date: Fri, 28 Mar 2003 19:23:19 +0000 (+0000) Subject: Fixed type error causing a seg fault. X-Git-Tag: splint-3_1_0~30 X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/commitdiff_plain/6facab84b82f790aef2c0d77f2a2457c16790e6d Fixed type error causing a seg fault. --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 4f76b6a..f1d05f7 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -5,7 +5,7 @@ AUTOMAKE_OPTIONS = 1.5 foreign #this is just a hack to get make dist to work. ## Include them in the distribution -EXTRA_DIST = splint.1 freebsd.html linux.html sunos.html manual.doc faq.txt realloc.doc +EXTRA_DIST = splint.1 freebsd.html linux.html sunos.html manual.pdf faq.txt manual.css html/manual.htm html/footer.html html/header.html html/realloc.htm man_MANS = splint.1 diff --git a/doc/Makefile.in b/doc/Makefile.in index b54f437..9a05c66 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -99,7 +99,7 @@ AUTOMAKE_OPTIONS = 1.5 foreign #this is just a hack to get make dist to work. -EXTRA_DIST = splint.1 freebsd.html linux.html sunos.html manual.doc faq.txt realloc.doc +EXTRA_DIST = splint.1 freebsd.html linux.html sunos.html manual.pdf faq.txt manual.css html/manual.htm html/footer.html html/header.html html/realloc.htm man_MANS = splint.1 subdir = doc @@ -172,6 +172,7 @@ top_distdir = .. distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir: $(DISTFILES) + $(mkinstalldirs) $(distdir)/html @list='$(DISTFILES)'; for file in $$list; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ diff --git a/src/mtscanner.c b/src/mtscanner.c index d352c65..b13a09a 100644 --- a/src/mtscanner.c +++ b/src/mtscanner.c @@ -307,7 +307,7 @@ ctype mtscanner_lookupType (mttok tok) else { ctype ct; - ue = uentry_makeDatatype (tname, ctype_unknown, MAYBE, QU_UNKNOWN, + ue = uentry_makeDatatype (tname, ctype_unknown, MAYBE, qual_createUnknown(), mttok_stealLoc (tok)); DPRINTF (("Making mts entry: %s", uentry_unparse (ue))); ct = usymtab_supForwardTypeEntry (ue);