Mercurial > gnulib
view modules/round @ 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 | 08b76f84ac5d |
children | efab6978105e |
line wrap: on
line source
Description: round() function: round toward nearest, breaking ties away from zero. Files: lib/round.c m4/check-math-lib.m4 m4/round.m4 m4/floor.m4 m4/ceil.m4 Depends-on: float floor math extensions configure.ac: gl_FUNC_ROUND gl_MATH_MODULE_INDICATOR([round]) Makefile.am: Include: <math.h> Link: $(ROUND_LIBM) License: LGPL Maintainer: Ben Pfaff