Mercurial > gnulib
view modules/wcswidth @ 40215:88b18d82fa61
crypto/des: Fix undefined behaviour.
* lib/des.c (READ_64BIT_DATA): Cast bytes to 'unsigned int', to avoid
shift operations on 'int'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 09 Mar 2019 22:21:25 +0100 |
parents | 1f14c6dd175d |
children |
line wrap: on
line source
Description: wcswidth() function: determine number of screen columns needed for a size-bounded wide string. Files: lib/wcswidth.c lib/wcswidth-impl.h m4/wcswidth.m4 Depends-on: wchar wcwidth [test $HAVE_WCSWIDTH = 0 || test $REPLACE_WCSWIDTH = 1] configure.ac: gl_FUNC_WCSWIDTH if test $HAVE_WCSWIDTH = 0 || test $REPLACE_WCSWIDTH = 1; then AC_LIBOBJ([wcswidth]) fi gl_WCHAR_MODULE_INDICATOR([wcswidth]) Makefile.am: Include: <wchar.h> License: LGPL Maintainer: all