diff -Naur wfdb-10.3.4/Makefile wfdb-10.3.5/Makefile --- wfdb-10.3.4/Makefile Sun Mar 30 14:43:53 2003 +++ wfdb-10.3.5/Makefile Mon Mar 31 18:03:21 2003 @@ -39,12 +39,12 @@ # create source archives, type `make tarballs'; or to make a binary archive, # type `make bin-tarball'. Making archives requires PGP, gzip, and GNU tar). # file: version.def G. Moody 24 May 2000 -# Last revised: 30 March 2003 +# Last revised: 31 March 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 4 +RELEASE = 5 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -61,9 +61,9 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.4 -SRCDIR = /home/george/wfdb-10.3.4 -LONGDATE = 30 March 2003 +PACKAGE = wfdb-10.3.5 +SRCDIR = /home/george/wfdb-10.3.5 +LONGDATE = 31 March 2003 SHORTDATE = MARCH 2003 # _____________________________________________________________________________ diff -Naur wfdb-10.3.4/NEWS wfdb-10.3.5/NEWS --- wfdb-10.3.4/NEWS Sun Mar 30 14:30:24 2003 +++ wfdb-10.3.5/NEWS Mon Mar 31 17:57:15 2003 @@ -1,3 +1,10 @@ +10.3.5: + Fixed a bug in WFDB library function isigclose() (in lib/signal.c) + that had caused sample()'s buffer to be freed inappropriately when + switching segments in a multi-segment record. Thanks to Dave + Schaffer for the bug report and for a test case that illustrated + the bug. + 10.3.4: xform now handles input and output sampling frequencies that are not exact multiples of 1 Hz. diff -Naur wfdb-10.3.4/app/Makefile wfdb-10.3.5/app/Makefile --- wfdb-10.3.4/app/Makefile Sun Mar 30 14:43:53 2003 +++ wfdb-10.3.5/app/Makefile Mon Mar 31 18:03:21 2003 @@ -33,12 +33,12 @@ # type `make listing'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 30 March 2003 +# Last revised: 31 March 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 4 +RELEASE = 5 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -55,9 +55,9 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.4 -SRCDIR = /home/george/wfdb-10.3.4 -LONGDATE = 30 March 2003 +PACKAGE = wfdb-10.3.5 +SRCDIR = /home/george/wfdb-10.3.5 +LONGDATE = 31 March 2003 SHORTDATE = MARCH 2003 # _____________________________________________________________________________ diff -Naur wfdb-10.3.4/checkpkg/Makefile wfdb-10.3.5/checkpkg/Makefile --- wfdb-10.3.4/checkpkg/Makefile Sun Mar 30 14:43:53 2003 +++ wfdb-10.3.5/checkpkg/Makefile Mon Mar 31 18:03:21 2003 @@ -31,12 +31,12 @@ # directory). To print a set of source listings, type `make listing'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 30 March 2003 +# Last revised: 31 March 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 4 +RELEASE = 5 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -53,9 +53,9 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.4 -SRCDIR = /home/george/wfdb-10.3.4 -LONGDATE = 30 March 2003 +PACKAGE = wfdb-10.3.5 +SRCDIR = /home/george/wfdb-10.3.5 +LONGDATE = 31 March 2003 SHORTDATE = MARCH 2003 # _____________________________________________________________________________ diff -Naur wfdb-10.3.4/conf/version.def wfdb-10.3.5/conf/version.def --- wfdb-10.3.4/conf/version.def Sun Mar 30 14:43:32 2003 +++ wfdb-10.3.5/conf/version.def Mon Mar 31 18:02:20 2003 @@ -1,10 +1,10 @@ # file: version.def G. Moody 24 May 2000 -# Last revised: 30 March 2003 +# Last revised: 31 March 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 4 +RELEASE = 5 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official diff -Naur wfdb-10.3.4/convert/Makefile wfdb-10.3.5/convert/Makefile --- wfdb-10.3.4/convert/Makefile Sun Mar 30 14:43:53 2003 +++ wfdb-10.3.5/convert/Makefile Mon Mar 31 18:03:21 2003 @@ -33,12 +33,12 @@ # type `make listing'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 30 March 2003 +# Last revised: 31 March 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 4 +RELEASE = 5 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -55,9 +55,9 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.4 -SRCDIR = /home/george/wfdb-10.3.4 -LONGDATE = 30 March 2003 +PACKAGE = wfdb-10.3.5 +SRCDIR = /home/george/wfdb-10.3.5 +LONGDATE = 31 March 2003 SHORTDATE = MARCH 2003 # _____________________________________________________________________________ diff -Naur wfdb-10.3.4/data/Makefile wfdb-10.3.5/data/Makefile --- wfdb-10.3.4/data/Makefile Sun Mar 30 14:43:53 2003 +++ wfdb-10.3.5/data/Makefile Mon Mar 31 18:03:21 2003 @@ -33,12 +33,12 @@ # listing'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 30 March 2003 +# Last revised: 31 March 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 4 +RELEASE = 5 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -55,9 +55,9 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.4 -SRCDIR = /home/george/wfdb-10.3.4 -LONGDATE = 30 March 2003 +PACKAGE = wfdb-10.3.5 +SRCDIR = /home/george/wfdb-10.3.5 +LONGDATE = 31 March 2003 SHORTDATE = MARCH 2003 # _____________________________________________________________________________ diff -Naur wfdb-10.3.4/doc/Makefile wfdb-10.3.5/doc/Makefile --- wfdb-10.3.4/doc/Makefile Sun Mar 30 14:43:53 2003 +++ wfdb-10.3.5/doc/Makefile Mon Mar 31 18:03:21 2003 @@ -134,12 +134,12 @@ # `make ug'. To print the WFDB Programmer's Guide, type `make pg'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 30 March 2003 +# Last revised: 31 March 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 4 +RELEASE = 5 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -156,9 +156,9 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.4 -SRCDIR = /home/george/wfdb-10.3.4 -LONGDATE = 30 March 2003 +PACKAGE = wfdb-10.3.5 +SRCDIR = /home/george/wfdb-10.3.5 +LONGDATE = 31 March 2003 SHORTDATE = MARCH 2003 # _____________________________________________________________________________ diff -Naur wfdb-10.3.4/doc/wag-src/Makefile wfdb-10.3.5/doc/wag-src/Makefile --- wfdb-10.3.4/doc/wag-src/Makefile Sun Mar 30 14:43:53 2003 +++ wfdb-10.3.5/doc/wag-src/Makefile Mon Mar 31 18:03:21 2003 @@ -59,12 +59,12 @@ # PostScript 'make wag.ps' (requires troff, tbl, latex, and dvips) # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 30 March 2003 +# Last revised: 31 March 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 4 +RELEASE = 5 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -81,9 +81,9 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.4 -SRCDIR = /home/george/wfdb-10.3.4 -LONGDATE = 30 March 2003 +PACKAGE = wfdb-10.3.5 +SRCDIR = /home/george/wfdb-10.3.5 +LONGDATE = 31 March 2003 SHORTDATE = MARCH 2003 # _____________________________________________________________________________ diff -Naur wfdb-10.3.4/doc/wpg-src/Makefile wfdb-10.3.5/doc/wpg-src/Makefile --- wfdb-10.3.4/doc/wpg-src/Makefile Sun Mar 30 14:43:53 2003 +++ wfdb-10.3.5/doc/wpg-src/Makefile Mon Mar 31 18:03:21 2003 @@ -65,12 +65,12 @@ # wpg.info' again. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 30 March 2003 +# Last revised: 31 March 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 4 +RELEASE = 5 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -87,9 +87,9 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.4 -SRCDIR = /home/george/wfdb-10.3.4 -LONGDATE = 30 March 2003 +PACKAGE = wfdb-10.3.5 +SRCDIR = /home/george/wfdb-10.3.5 +LONGDATE = 31 March 2003 SHORTDATE = MARCH 2003 # _____________________________________________________________________________ diff -Naur wfdb-10.3.4/doc/wpg-src/wpg0.tex wfdb-10.3.5/doc/wpg-src/wpg0.tex --- wfdb-10.3.4/doc/wpg-src/wpg0.tex Tue Nov 26 02:06:04 2002 +++ wfdb-10.3.5/doc/wpg-src/wpg0.tex Mon Mar 31 18:01:38 2003 @@ -488,6 +488,25 @@ WFDB Software Package distribution, for information on any more recent changes that may not be described here. +@unnumberedsubsec Changes in version 10.3.5 + +Fixed a bug in WFDB library function isigclose() (in lib/signal.c) +that had caused sample()'s buffer to be freed inappropriately when +switching segments in a multi-segment record. Thanks to Dave +Schaffer for the bug report and for a test case that illustrated +the bug. + +(WFDB library versions 10.3.3 and 10.3.4 were identical to 10.3.2.) + +@unnumberedsubsec Changes in version 10.3.2 + +Fixed a WFDB library bug that caused annotation sorting to fail +if a new header file had been written. Thanks to Winton Baker for +reporting this problem and for providing an example that illustrated +the bug. + +(WFDB library version 10.3.1 was identical to 10.3.0.) + @unnumberedsubsec Changes in version 10.3.0 Fixed bugs in @file{lib/sample.c} that caused improper accounting of signal diff -Naur wfdb-10.3.4/doc/wug-src/Makefile wfdb-10.3.5/doc/wug-src/Makefile --- wfdb-10.3.4/doc/wug-src/Makefile Sun Mar 30 14:43:53 2003 +++ wfdb-10.3.5/doc/wug-src/Makefile Mon Mar 31 18:03:21 2003 @@ -55,12 +55,12 @@ # PostScript 'make wug.ps' (requires latex and dvips) # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 30 March 2003 +# Last revised: 31 March 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 4 +RELEASE = 5 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -77,9 +77,9 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.4 -SRCDIR = /home/george/wfdb-10.3.4 -LONGDATE = 30 March 2003 +PACKAGE = wfdb-10.3.5 +SRCDIR = /home/george/wfdb-10.3.5 +LONGDATE = 31 March 2003 SHORTDATE = MARCH 2003 # _____________________________________________________________________________ diff -Naur wfdb-10.3.4/examples/Makefile wfdb-10.3.5/examples/Makefile --- wfdb-10.3.4/examples/Makefile Sun Mar 30 14:43:53 2003 +++ wfdb-10.3.5/examples/Makefile Mon Mar 31 18:03:21 2003 @@ -34,12 +34,12 @@ # `make clean' to remove them. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 30 March 2003 +# Last revised: 31 March 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 4 +RELEASE = 5 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -56,9 +56,9 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.4 -SRCDIR = /home/george/wfdb-10.3.4 -LONGDATE = 30 March 2003 +PACKAGE = wfdb-10.3.5 +SRCDIR = /home/george/wfdb-10.3.5 +LONGDATE = 31 March 2003 SHORTDATE = MARCH 2003 # _____________________________________________________________________________ diff -Naur wfdb-10.3.4/lib/Makefile wfdb-10.3.5/lib/Makefile --- wfdb-10.3.4/lib/Makefile Sun Mar 30 14:43:53 2003 +++ wfdb-10.3.5/lib/Makefile Mon Mar 31 18:03:21 2003 @@ -33,12 +33,12 @@ # type `make slib'. # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 30 March 2003 +# Last revised: 31 March 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 4 +RELEASE = 5 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -55,9 +55,9 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.4 -SRCDIR = /home/george/wfdb-10.3.4 -LONGDATE = 30 March 2003 +PACKAGE = wfdb-10.3.5 +SRCDIR = /home/george/wfdb-10.3.5 +LONGDATE = 31 March 2003 SHORTDATE = MARCH 2003 # _____________________________________________________________________________ diff -Naur wfdb-10.3.4/lib/signal.c wfdb-10.3.5/lib/signal.c --- wfdb-10.3.4/lib/signal.c Wed Feb 12 14:52:35 2003 +++ wfdb-10.3.5/lib/signal.c Mon Mar 31 17:50:51 2003 @@ -1,5 +1,5 @@ /* file: signal.c G. Moody 13 April 1989 - Last revised: 12 February 2003 wfdblib 10.3.2 + Last revised: 31 March 2003 wfdblib 10.3.5 WFDB library functions for signals _______________________________________________________________________________ @@ -881,7 +881,7 @@ struct igdata *ig; if (nisig == 0) return; - if (sbuf) { + if (sbuf && (!in_msrec || segp >= segend)) { (void)free(sbuf); sbuf = NULL; sample_vflag = 0; diff -Naur wfdb-10.3.4/lib/wfdb.h0 wfdb-10.3.5/lib/wfdb.h0 --- wfdb-10.3.4/lib/wfdb.h0 Sun Mar 30 14:35:18 2003 +++ wfdb-10.3.5/lib/wfdb.h0 Mon Mar 31 18:02:56 2003 @@ -1,5 +1,5 @@ /* file: wfdb.h G. Moody 13 June 1983 - Last revised: 30 March 2003 wfdblib 10.3.4 + Last revised: 31 March 2003 wfdblib 10.3.5 WFDB library type, constant, structure, and function interface definitions _______________________________________________________________________________ @@ -33,7 +33,7 @@ /* WFDB library version. */ #define WFDB_MAJOR 10 #define WFDB_MINOR 3 -#define WFDB_RELEASE 4 +#define WFDB_RELEASE 5 #define WFDB_NETFILES 1 /* if 1, library includes code for HTTP, FTP clients */ /* Determine what type of compiler is being used. */ diff -Naur wfdb-10.3.4/psd/Makefile wfdb-10.3.5/psd/Makefile --- wfdb-10.3.4/psd/Makefile Sun Mar 30 14:43:53 2003 +++ wfdb-10.3.5/psd/Makefile Mon Mar 31 18:03:21 2003 @@ -32,12 +32,12 @@ # directory). # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 30 March 2003 +# Last revised: 31 March 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 4 +RELEASE = 5 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -54,9 +54,9 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.4 -SRCDIR = /home/george/wfdb-10.3.4 -LONGDATE = 30 March 2003 +PACKAGE = wfdb-10.3.5 +SRCDIR = /home/george/wfdb-10.3.5 +LONGDATE = 31 March 2003 SHORTDATE = MARCH 2003 # _____________________________________________________________________________ diff -Naur wfdb-10.3.4/wave/Makefile wfdb-10.3.5/wave/Makefile --- wfdb-10.3.4/wave/Makefile Sun Mar 30 14:43:53 2003 +++ wfdb-10.3.5/wave/Makefile Mon Mar 31 18:03:21 2003 @@ -45,12 +45,12 @@ # just type `make' (from within this directory). # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 30 March 2003 +# Last revised: 31 March 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 4 +RELEASE = 5 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -67,9 +67,9 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.4 -SRCDIR = /home/george/wfdb-10.3.4 -LONGDATE = 30 March 2003 +PACKAGE = wfdb-10.3.5 +SRCDIR = /home/george/wfdb-10.3.5 +LONGDATE = 31 March 2003 SHORTDATE = MARCH 2003 # _____________________________________________________________________________ diff -Naur wfdb-10.3.4/waverc/Makefile wfdb-10.3.5/waverc/Makefile --- wfdb-10.3.4/waverc/Makefile Sun Mar 30 14:43:53 2003 +++ wfdb-10.3.5/waverc/Makefile Mon Mar 31 18:03:21 2003 @@ -25,12 +25,12 @@ # please visit PhysioNet (http://www.physionet.org/). # _____________________________________________________________________________ # file: version.def G. Moody 24 May 2000 -# Last revised: 30 March 2003 +# Last revised: 31 March 2003 # Each release of the WFDB Software Package is identified by a three-part # version number, defined here: MAJOR = 10 MINOR = 3 -RELEASE = 4 +RELEASE = 5 VERSION = $(MAJOR).$(MINOR).$(RELEASE) # RPMRELEASE can be incremented if changes are made between official @@ -47,9 +47,9 @@ # Definitions generated by 'configure' -PACKAGE = wfdb-10.3.4 -SRCDIR = /home/george/wfdb-10.3.4 -LONGDATE = 30 March 2003 +PACKAGE = wfdb-10.3.5 +SRCDIR = /home/george/wfdb-10.3.5 +LONGDATE = 31 March 2003 SHORTDATE = MARCH 2003 # _____________________________________________________________________________