view modules/mbswidth @ 10186:bef6a09c05f1

utimens.c: correct kernel bug work-around Ondřej Vašík found that the invalid return value of 280 indicates failure, not success, and the kernel bug we're trying to work around affects not just the utimensat call, but also the fallback futimens call. * lib/utimens.c (gl_futimens) [HAVE_UTIMENSAT]: Simulate failure, not success. [HAVE_FUTIMENS]: Use the same work-around, here.
author Jim Meyering <meyering@redhat.com>
date Fri, 06 Jun 2008 18:20:14 +0200
parents b6376840b47b
children 1a3d44359528
line wrap: on
line source

Description:
Determine the number of screen columns needed for a string.

Files:
lib/mbswidth.h
lib/mbswidth.c
m4/mbstate_t.m4
m4/mbrtowc.m4
m4/mbswidth.m4

Depends-on:
wchar
wctype
wcwidth

configure.ac:
gl_MBSWIDTH

Makefile.am:
lib_SOURCES += mbswidth.h mbswidth.c

Include:
"mbswidth.h"

License:
GPL

Maintainer:
Bruno Haible