1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

Merge from gnulib.

This incorporates:
2013-09-24 manywarnings: enable nicer gcc warning messages
2013-09-23 warnings: port --enable-gcc-warnings to Solaris Studio 12.3
2013-09-21 timespec: use the new TIMESPEC_RESOLUTION elsewhere
* configure.ac (WERROR_CFLAGS): Omit -fdiagnostics-show-option
and -funit-at-a-time, since manywarnings does that for us now.
This commit is contained in:
Paul Eggert 2013-09-24 20:44:34 -07:00
parent 0c1738785d
commit 959c3d24a7
6 changed files with 21 additions and 13 deletions

View file

@ -18,8 +18,8 @@
/* Written by Paul Eggert. */
/* Return the difference between two timespec values A and B. On
overflow, return an extremal value. This assumes 0 <= tv_nsec <=
999999999. */
overflow, return an extremal value. This assumes 0 <= tv_nsec <
TIMESPEC_RESOLUTION. */
#include <config.h>
#include "timespec.h"
@ -58,7 +58,7 @@ timespec_sub (struct timespec a, struct timespec b)
else
{
rs = TYPE_MAXIMUM (time_t);
rns = 999999999;
rns = TIMESPEC_RESOLUTION - 1;
}
}
else