diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-08-20 20:19:59 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-08-20 20:19:59 +0200 |
commit | 9a65c3d85f29c6545f0254b9705208ab08d3b3dd (patch) | |
tree | 330f04db886c420e224c3500669272dd8ceb8af4 /debug/wmemset_chk.c | |
parent | 04e1830bc8feae344f9a230b53056e1603d890a2 (diff) | |
parent | f76453c31593957fec1a99b986bfa5506618b79c (diff) |
Merge commit 'refs/top-bases/t/hurdsig-fixes' into t/hurdsig-fixes
Diffstat (limited to 'debug/wmemset_chk.c')
-rw-r--r-- | debug/wmemset_chk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debug/wmemset_chk.c b/debug/wmemset_chk.c index 4caabbe420..23e1217316 100644 --- a/debug/wmemset_chk.c +++ b/debug/wmemset_chk.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996-2014 Free Software Foundation, Inc. +/* Copyright (C) 1996-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.org>, 1996. @@ -22,7 +22,7 @@ wchar_t * __wmemset_chk (wchar_t *s, wchar_t c, size_t n, size_t dstlen) { - if (__builtin_expect (dstlen < n, 0)) + if (__glibc_unlikely (dstlen < n)) __chk_fail (); return wmemset (s, c, n); |