Skip to content

Commit 5d92be8

Browse files
committed
Release v17102019 3.5.2
Fixed t_mbsrtowcs_s.exe compilation under newer mingw gcc mingw BOS needs now stdlib.h
1 parent 7388bb5 commit 5d92be8

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11

22
ChangeLog file for safeclib
33

4+
Changes in v17102019 3.5.2
5+
- Fixed mbsrtowcs_s error message prefix.
6+
- Fixed t_mbsrtowcs_s.exe compilation under newer mingw gcc.
7+
48
Changes in v16102019 3.5.1
59
- Fixed memset_s for the upper 4 bits of 64 bit words (GH #73)
610
- Fixed strncat_s error handling for slen exceeds src.

build-aux/smoke.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ CC="clang-mp-5.0" \
2828
./configure --disable-shared --enable-unsafe --enable-norm-compat && \
2929
gmake -s -j4 check-log || exit
3030
gmake -s -j4 clean
31-
echo clang-mp-3.9 -fsanitize=address -fno-omit-frame-pointer --enable-debug --enable-unsafe --enable-norm-compat
32-
CC="clang-mp-3.9 -fsanitize=address -fno-omit-frame-pointer" \
31+
echo clang-mp-8.0 -fsanitize=address -fno-omit-frame-pointer --enable-debug --enable-unsafe --enable-norm-compat
32+
CC="clang-mp-8.0 -fsanitize=address -fno-omit-frame-pointer" \
3333
./configure --enable-debug --enable-unsafe --enable-norm-compat && \
3434
gmake -s -j4 check-log || exit
3535
gmake -s -j4 clean

tests/test_private.h

+2-4
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,8 @@
7373
#define _GNU_SOURCE
7474
#include <stdio.h>
7575
#include <string.h>
76-
77-
/* for malloc/free */
78-
#if defined(HAVE_STDLIB_H) && (defined(HAVE___BND_CHK_PTR_BOUNDS) || \
79-
defined(HAVE___BUILTIN___BND_SET_PTR_BOUNDS))
76+
/* for malloc/free and mingw BOS */
77+
#ifdef HAVE_STDLIB_H
8078
#include <stdlib.h>
8179
#endif
8280

0 commit comments

Comments
 (0)