Skip to content

Commit 910a8b9

Browse files
committed
sfsexp: update to 1.4.1.
1.4.1 Summary This is a bug fix release that addresses a race condition that can occur in multi-threaded programs when memory management is enabled. In previous versions of the library memory management was enabled by default. This is no longer the case, and it must be enabled explicitly at configure time. Explanation of bug: The global variables used for caching and reusing allocated structures and the functions that manipulate them do not currently protect critical sections to guarantee atomicity which can lead to failures in multithreaded programs. The current fix is to disable memory management by compiling with the _NO_MEMORY_MANAGEMENT_ directive such that the thread-unsafe code must be enabled explicitly. The unsafe code may be removed in future releases if performance evaluation determines that it is a legacy feature that no longer provides a tangible performance benefit. If it does provide a measurable benefit, a thread-safe fix will be implemented. 1.4.0 Updates updates to build and installation process, pkg-config rename package from sexpr to sfsexp to avoid confusion documentation updates additional UTF-8 tests removal of archaic code that is no longer necessary fix for sexp_to_dotfile looping on empty lists update sexpvis.c to add arguments Pull request changes generate pkgconfig file during configure by @bremner in #5 make _sexp_to_dot static / hidden by @bremner in #4 fix for sexp_to_dotfile looping on empty lists by @bremner in #8 add some simple non-ascii tests by @bremner in #6 remove archive/ by @bremner in #10 Install sfsexp.pc file by @ryoon in #11 Honor LDFLAGS to fix RELRO build, for example by @ryoon in #12 Enhance markdown in README.md by @jpellegrini in #13 Rename sexpr to sfsexp by @mjg in #17 Pkgincludedir by @mjg in #18
1 parent 3fd7e02 commit 910a8b9

3 files changed

Lines changed: 15 additions & 23 deletions

File tree

devel/sfsexp/Makefile

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
# $NetBSD: Makefile,v 1.1 2021/11/01 14:15:42 ryoon Exp $
1+
# $NetBSD: Makefile,v 1.2 2023/04/26 19:36:49 wiz Exp $
22

3-
GITHUB_PROJECT= sfsexp
4-
DISTNAME= sexpr-1.3.1pre20211025
5-
PKGNAME= ${DISTNAME:S/sexpr-/sfsexp-/}
3+
DISTNAME= sfsexp-1.4.1
64
CATEGORIES= devel
75
MASTER_SITES= ${MASTER_SITE_GITHUB:=mjsottile/}
8-
GITHUB_TAG= 30739f9544cfa43212769bb3b4eabfaba44b8ff6
6+
GITHUB_RELEASE= v${PKGVERSION_NOREV}
97

108
MAINTAINER= ryoon@NetBSD.org
119
HOMEPAGE= https://github.com/mjsottile/sfsexp/
@@ -15,13 +13,7 @@ LICENSE= gnu-lgpl-v2.1
1513
GNU_CONFIGURE= yes
1614
USE_LIBTOOL= yes
1715
USE_LANGUAGES= c c++
18-
USE_TOOLS+= automake
1916

2017
PKGCONFIG_OVERRIDE= sfsexp.pc.in
2118

22-
pre-configure:
23-
set -e; cd ${WRKSRC}; \
24-
${MKDIR} m4; \
25-
aclocal; libtoolize; autoheader; automake -a --foreign -i; autoconf
26-
2719
.include "../../mk/bsd.pkg.mk"

devel/sfsexp/PLIST

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
@comment $NetBSD: PLIST,v 1.1 2021/11/01 14:15:42 ryoon Exp $
2-
include/cstring.h
3-
include/faststack.h
4-
include/sexp.h
5-
include/sexp_errors.h
6-
include/sexp_memory.h
7-
include/sexp_ops.h
8-
include/sexp_vis.h
1+
@comment $NetBSD: PLIST,v 1.2 2023/04/26 19:36:49 wiz Exp $
2+
include/sfsexp/cstring.h
3+
include/sfsexp/faststack.h
4+
include/sfsexp/sexp.h
5+
include/sfsexp/sexp_errors.h
6+
include/sfsexp/sexp_memory.h
7+
include/sfsexp/sexp_ops.h
8+
include/sfsexp/sexp_vis.h
99
lib/libsexp.la
1010
lib/pkgconfig/sfsexp.pc

devel/sfsexp/distinfo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.1 2021/11/01 14:15:42 ryoon Exp $
1+
$NetBSD: distinfo,v 1.2 2023/04/26 19:36:49 wiz Exp $
22

3-
BLAKE2s (sexpr-1.3.1pre20211025-30739f9544cfa43212769bb3b4eabfaba44b8ff6.tar.gz) = f2563ac2b68126e4fca2f5f664fb23bf4e21b248f8f9341f308df22af6b1054d
4-
SHA512 (sexpr-1.3.1pre20211025-30739f9544cfa43212769bb3b4eabfaba44b8ff6.tar.gz) = 41c070d67ca317042b9bb4d149f9b52f9966767d1f213a200831277a15a67d414ccbdc5f9665e60a8e3aa8ec774787123a17b9007b8aaebc6c384582f562d3a5
5-
Size (sexpr-1.3.1pre20211025-30739f9544cfa43212769bb3b4eabfaba44b8ff6.tar.gz) = 115585 bytes
3+
BLAKE2s (sfsexp-1.4.1.tar.gz) = 5d26b0fe2d641a04ad8d07226b84773c90d19369040baf5d655e7997202d0e30
4+
SHA512 (sfsexp-1.4.1.tar.gz) = d7625f1b58b12bf34d0d0e9a110bac7ea48ce7b5d9920bb4dd11e5dacf1e9fd998f974fc5da9669797496bb43702319cee44f2e760d0888b2d22db80a55e5f44
5+
Size (sfsexp-1.4.1.tar.gz) = 465297 bytes

0 commit comments

Comments
 (0)