Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/xcmsdb/dist initial import of xcmsdb-1.0.6
details: https://anonhg.NetBSD.org/xsrc/rev/1cd8bcdf6d34
branches: trunk
changeset: 7022:1cd8bcdf6d34
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Jul 11 08:48:02 2022 +0000
description:
initial import of xcmsdb-1.0.6
diffstat:
external/mit/xcmsdb/dist/ChangeLog | 190 +-
external/mit/xcmsdb/dist/Makefile.am | 2 +-
external/mit/xcmsdb/dist/Makefile.in | 109 +-
external/mit/xcmsdb/dist/README.md | 20 +
external/mit/xcmsdb/dist/aclocal.m4 | 546 +-
external/mit/xcmsdb/dist/compile | 17 +-
external/mit/xcmsdb/dist/config.guess | 1685 +++--
external/mit/xcmsdb/dist/config.h.in | 10 +-
external/mit/xcmsdb/dist/config.sub | 2911 +++++-----
external/mit/xcmsdb/dist/configure | 7851 +++++++++++++++--------------
external/mit/xcmsdb/dist/configure.ac | 6 +-
external/mit/xcmsdb/dist/depcomp | 10 +-
external/mit/xcmsdb/dist/install-sh | 172 +-
external/mit/xcmsdb/dist/loadData.c | 2323 ++++----
external/mit/xcmsdb/dist/man/Makefile.in | 21 +-
external/mit/xcmsdb/dist/missing | 16 +-
external/mit/xcmsdb/dist/xcmsdb.c | 1108 ++--
17 files changed, 9200 insertions(+), 7797 deletions(-)
diffs (truncated from 23861 to 300 lines):
diff -r 415911da6b27 -r 1cd8bcdf6d34 external/mit/xcmsdb/dist/ChangeLog
--- a/external/mit/xcmsdb/dist/ChangeLog Mon Jul 11 08:48:01 2022 +0000
+++ b/external/mit/xcmsdb/dist/ChangeLog Mon Jul 11 08:48:02 2022 +0000
@@ -1,3 +1,189 @@
+commit 8067bc3bd82c1bd3b50e03b7f1614907509495cb
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Jul 10 14:54:38 2022 -0700
+
+ xcmsdb 1.0.6
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 337a55d303d76aa4f3f6d1e4d7885544436ee2be
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Apr 30 11:38:44 2022 -0700
+
+ LoadSCCData: avoid leaking memory if we give up early
+
+ Resolves issues reported by Oracle Parfait static analyser:
+
+ Error: Memory leak
+ Memory leak [memory-leak] (CWE 401):
+ Memory leak of pointer pCurrent allocated with calloc(1, 112)
+ at line 1615 of app/xcmsdb/loadData.c in function 'LoadSCCData'.
+ pCurrent allocated at line 1600 with calloc(1, 112)
+ Error: Memory leak
+ Memory leak [memory-leak] (CWE 401):
+ Memory leak of pointer pCurrent allocated with calloc(1, 112)
+ at line 1634 of app/xcmsdb/loadData.c in function 'LoadSCCData'.
+ pCurrent allocated at line 1600 with calloc(1, 112)
+ pCurrent leaks when VisualFlag == 0 at line 1618
+ and VisualFlag == 0 at line 1626.
+ Error: Memory leak
+ Memory leak [memory-leak] (CWE 401):
+ Memory leak of pointer pCurrent allocated with calloc(1, 112)
+ at line 1656 of app/xcmsdb/loadData.c in function 'LoadSCCData'.
+ pCurrent allocated at line 1600 with calloc(1, 112)
+ pCurrent leaks when VisualFlag == 0 at line 1618
+ and VisualFlag == 0 at line 1626
+ and pCurrent->nTables != 0 at line 1628
+ and pCurrent->nTables != 1 at line 1628
+ and token3 == NULL at line 1642
+ and pCurrent->nTables is 3 at line 1648
+ and pCurrent->pRedTbl == NULL at line 1651.
+ Memory leak [memory-leak] (CWE 401):
+ Memory leak of pointer pCurrent allocated with calloc(1, 112)
+ at line 1664 of app/xcmsdb/loadData.c in function 'LoadSCCData'.
+ pCurrent allocated at line 1600 with calloc(1, 112)
+ pCurrent leaks when VisualFlag == 0 at line 1618
+ and VisualFlag == 0 at line 1626
+ and pCurrent->nTables != 0 at line 1628
+ and pCurrent->nTables != 1 at line 1628
+ and token3 == NULL at line 1642
+ and pCurrent->nTables is 3 at line 1648
+ and pCurrent->pGreenTbl == NULL at line 1659.
+ Memory leak [memory-leak] (CWE 401):
+ Memory leak of pointer pCurrent allocated with calloc(1, 112)
+ at line 1672 of app/xcmsdb/loadData.c in function 'LoadSCCData'.
+ pCurrent allocated at line 1600 with calloc(1, 112)
+ pCurrent leaks when VisualFlag == 0 at line 1618
+ and VisualFlag == 0 at line 1626
+ and pCurrent->nTables != 0 at line 1628
+ and pCurrent->nTables != 1 at line 1628
+ and token3 == NULL at line 1642
+ and pCurrent->nTables is 3 at line 1648
+ and pCurrent->pBlueTbl == NULL at line 1667.
+ Memory leak [memory-leak] (CWE 401):
+ Memory leak of pointer pCurrent allocated with calloc(1, 112)
+ at line 1685 of app/xcmsdb/loadData.c in function 'LoadSCCData'.
+ pCurrent allocated at line 1600 with calloc(1, 112)
+ pCurrent leaks when VisualFlag == 0 at line 1618
+ and VisualFlag == 0 at line 1626
+ and pCurrent->nTables != 0 at line 1628
+ and pCurrent->nTables == 1 at line 1628
+ and token3 == NULL at line 1642
+ and pCurrent->nTables is 1 at line 1648
+ and pCurrent->pRedTbl == NULL at line 1680.
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 6ff9e623b48a8998324a75ebaadb6adc97b189ae
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Apr 30 11:31:33 2022 -0700
+
+ Remove unnecessary casts and make allocation failure checks more consistent
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 54b7f6247be611d1f357220a59be05322d78998a
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Apr 30 11:02:27 2022 -0700
+
+ Adopt X.Org standard coding style
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 63f48f29a8c93ead05b53823fc62fa909d527431
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Apr 3 14:33:19 2022 -0700
+
+ Fix -Wsign-compare warnings in PrintTableType1()
+
+ xcmsdb.c: In function ‘PrintTableType1’:
+ xcmsdb.c:299:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+ for (count = 0; count < max_index+1; count++) {
+ ^
+ xcmsdb.c:307:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+ for (count = 0; count < max_index+1; count++) {
+ ^
+ xcmsdb.c:315:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
+ for (count = 0; count < max_index+1; count++) {
+ ^
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 6c5d7d7ba21b69f606b832e38efe64a4805bd94e
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Dec 4 11:13:16 2021 -0800
+
+ Build xz tarballs instead of bzip2
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 8e7a36cb750e2ef619885225e937224a5949928f
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sat Dec 4 11:13:13 2021 -0800
+
+ gitlab CI: add a basic build test
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit b8c157bf095fa8be00c9b8d0ee7550610ae79c86
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Sun Nov 28 11:38:16 2021 -0800
+
+ Fix spelling/wording issues
+
+ Found by using:
+ codespell --builtin clear,rare,usage,informal,code,names
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 5d9c61bbc5f5c485df099e1b8536c25ec3afd741
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Wed Nov 21 17:00:09 2018 -0800
+
+ Update configure.ac bug URL for gitlab migration
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit d4de6604ab692cc1a70a330efa5b15f3e88c47ed
+Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+Date: Fri Nov 16 21:18:18 2018 -0800
+
+ Update README for gitlab migration
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
+
+commit 97a1bb6e0b22c9ae3be1694711acf052b927766c
+Author: Mihail Konev <k.mvc%ya.ru@localhost>
+Date: Thu Jan 26 14:00:20 2017 +1000
+
+ autogen: add default patch prefix
+
+ Signed-off-by: Mihail Konev <k.mvc%ya.ru@localhost>
+
+commit 5ef3260cbf8a6b097467a72aa6d16befe9095b78
+Author: Emil Velikov <emil.l.velikov%gmail.com@localhost>
+Date: Mon Mar 9 12:00:52 2015 +0000
+
+ autogen.sh: use quoted string variables
+
+ Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
+ fall-outs, when they contain space.
+
+ Signed-off-by: Emil Velikov <emil.l.velikov%gmail.com@localhost>
+ Reviewed-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+ Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+
+commit 7c2442e5332b7edeb8f6855b8cce2001c91df04f
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date: Tue Jan 24 10:32:07 2017 +1000
+
+ autogen.sh: use exec instead of waiting for configure to finish
+
+ Syncs the invocation of configure with the one from the server.
+
+ Signed-off-by: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+ Reviewed-by: Emil Velikov <emil.velikov%collabora.com@localhost>
+
commit 152d7f3992fc0982006f7024589c1491feb273ee
Author: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
Date: Thu Apr 16 22:49:23 2015 -0700
@@ -7,7 +193,7 @@
Signed-off-by: Alan Coopersmith <alan.coopersmith%oracle.com@localhost>
commit aa02eb3d4f0c5722b8f9012ec08512daa7420184
-Author: Erkki Seppälä <erkki.seppala%vincit.fi@localhost>
+Author: Erkki Seppälä < <erkki.seppala%vincit.fi@localhost>
Date: Sun Jan 4 12:51:10 2015 -0800
_XcmsGetProperty: don't deal with uninitialized values, fail instead
@@ -470,7 +656,7 @@
configure cache, you cache it, and the cached value is probably wrong.
commit bdf7beaadb08e4599d28433a49422825949b8295
-Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
+Author: Søren Sandmann Pedersen <sandmann%daimi.au.dk@localhost>
Date: Wed Jul 6 20:07:41 2005 +0000
Build system for xcmsdb
diff -r 415911da6b27 -r 1cd8bcdf6d34 external/mit/xcmsdb/dist/Makefile.am
--- a/external/mit/xcmsdb/dist/Makefile.am Mon Jul 11 08:48:01 2022 +0000
+++ b/external/mit/xcmsdb/dist/Makefile.am Mon Jul 11 08:48:02 2022 +0000
@@ -30,7 +30,7 @@
SCCDFile.h \
xcmsdb.c
-EXTRA_DIST = datafiles/sample1.dcc datafiles/sample2.dcc
+EXTRA_DIST = datafiles/sample1.dcc datafiles/sample2.dcc README.md
MAINTAINERCLEANFILES = ChangeLog INSTALL
diff -r 415911da6b27 -r 1cd8bcdf6d34 external/mit/xcmsdb/dist/Makefile.in
--- a/external/mit/xcmsdb/dist/Makefile.in Mon Jul 11 08:48:01 2022 +0000
+++ b/external/mit/xcmsdb/dist/Makefile.in Mon Jul 11 08:48:02 2022 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.15 from Makefile.am.
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+# Copyright (C) 1994-2021 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -143,7 +143,8 @@
am__v_at_1 =
DEFAULT_INCLUDES = -I.@am__isrc@
depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
+am__maybe_remake_depfiles = depfiles
+am__depfiles_remade = ./$(DEPDIR)/loadData.Po ./$(DEPDIR)/xcmsdb.Po
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@@ -179,9 +180,9 @@
$(RECURSIVE_CLEAN_TARGETS) \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
- cscope distdir dist dist-all distcheck
-am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
- $(LISP)config.h.in
+ cscope distdir distdir-am dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
+ config.h.in
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
# *not* preserved.
@@ -198,12 +199,9 @@
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
-ETAGS = etags
-CTAGS = ctags
-CSCOPE = cscope
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in COPYING \
- ChangeLog INSTALL README compile config.guess config.sub \
+ ChangeLog INSTALL README.md compile config.guess config.sub \
depcomp install-sh missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
@@ -240,9 +238,11 @@
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
done; \
reldir="$$dir2"
-DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
+DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz
GZIP_ENV = --best
-DIST_TARGETS = dist-bzip2 dist-gzip
+DIST_TARGETS = dist-xz dist-gzip
+# Exists only to be overridden by the user if desired.
+AM_DISTCHECK_DVI_TARGET = dvi
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
@@ -263,8 +263,9 @@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CHANGELOG_CMD = @CHANGELOG_CMD@
-CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
CWARNFLAGS = @CWARNFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
@@ -274,11 +275,10 @@
ECHO_C = @ECHO_C@
Home |
Main Index |
Thread Index |
Old Index