Mercurial > hg > octave-jordi > gnulib-hg
annotate modules/wcpncpy @ 17732:6d92afe34a82
openat-die: use _Noreturn markup
Compiling coreutils.git on cygwin with gcc 4.8.3, I got:
lib/openat-die.c:34:1: error: function might be candidate for attribute 'noreturn' [-Werror=suggest-attribute=noreturn]
openat_save_fail (int errnum)
^
* modules/openat-die (Depends-on): Add snippet/_Noreturn.
* lib/openat-die.c (openat_save_fail, openat_restore_fail): Mark
_Noreturn.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Wed, 30 Jul 2014 15:01:44 -0600 |
parents | 1f14c6dd175d |
children |
rev | line source |
---|---|
14286 | 1 Description: |
2 wcpncpy() function: copy a size-bounded wide string. | |
3 | |
4 Files: | |
5 lib/wcpncpy.c | |
6 lib/wcpncpy-impl.h | |
7 m4/wcpncpy.m4 | |
8 | |
9 Depends-on: | |
14518
f117125e8cb9
wcpcpy, wcpncpy: Ensure declaration on glibc >= 2.13 systems.
Bruno Haible <bruno@clisp.org>
parents:
14286
diff
changeset
|
10 extensions |
14286 | 11 wchar |
12 | |
13 configure.ac: | |
14 gl_FUNC_WCPNCPY | |
15139
0e2a34f6919c
wcpncpy: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14518
diff
changeset
|
15 if test $HAVE_WCPNCPY = 0; then |
0e2a34f6919c
wcpncpy: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14518
diff
changeset
|
16 AC_LIBOBJ([wcpncpy]) |
0e2a34f6919c
wcpncpy: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14518
diff
changeset
|
17 fi |
14286 | 18 gl_WCHAR_MODULE_INDICATOR([wcpncpy]) |
19 | |
20 Makefile.am: | |
21 | |
22 Include: | |
23 <wchar.h> | |
24 | |
25 License: | |
26 LGPL | |
27 | |
28 Maintainer: | |
17713
1f14c6dd175d
Bruno Haible has stepped down as maintainer.
Paul Eggert <eggert@cs.ucla.edu>
parents:
15139
diff
changeset
|
29 all |