aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert2018-01-09 15:29:25 -0800
committerPaul Eggert2018-01-09 15:29:25 -0800
commitddb26f79b20329ada5f5bc6e1742807d029e06c0 (patch)
tree4eb2572b11bba0c4fa7fc388dc2f65648be89b5e /lib
parent0b33768053184ceadda0ca6dc431969e664cd17e (diff)
parent7668717d6fecd610d71b54a33708038b2ede8cce (diff)
downloademacs-ddb26f79b20329ada5f5bc6e1742807d029e06c0.tar.gz
emacs-ddb26f79b20329ada5f5bc6e1742807d029e06c0.zip
Merge from origin/emacs-26
7668717d6f Merge from Gnulib 9e4d523427 * lisp/epg.el (epg-start-sign): Replace obsolete functions. 26c58f31a8 Small fix for erc-logging-enabled 34b41e3bc6 Quieten semantic normal usage e25f961e37 Avoid irrelevant hyperlink in doc string of 'epa-pinentry-... ec2636513c * doc/misc/tramp.texi (Remote processes): Mention gdb rest... 918a052a42 Query background for gnome terminal version 3.22 (Bug#29716) 1dfc27576a Make pixel-wise scrolling less laggy f92264fc2a Fix child frame placement issues (bug#29953) a5f718c4c5 ; * doc/lispref/text.texi (Change Hooks): Fix last change. e876f5f9fb Describe the precise interaction of complex primitives wit... 3a22097cf6 Fix valgrind report in call-interactively d5f1c87bfe * src/editfns.c (Fsave_excursion): Doc fix. (Bug#30001) b8d74c4578 Fix mark-defun when there's no spaces between successive d... a377c652b5 Fix Dired display and operations on file names with raw bytes d9d6e8a04c ; Comments related to src/termcap.c f8a07fa6b1 Improve documentation of 'gdb-many-windows' f82400798e Fix failures in smerge-mode on MS-Windows
Diffstat (limited to 'lib')
-rw-r--r--lib/md5.c7
-rw-r--r--lib/md5.h7
-rw-r--r--lib/sha1.c7
-rw-r--r--lib/sha1.h7
-rw-r--r--lib/sha256.c7
-rw-r--r--lib/sha256.h7
-rw-r--r--lib/sha512.c7
-rw-r--r--lib/sha512.h7
-rw-r--r--lib/signal.in.h2
-rw-r--r--lib/stat-time.h10
10 files changed, 60 insertions, 8 deletions
diff --git a/lib/md5.c b/lib/md5.c
index 8bdd4a7884b..9dc915e2cf0 100644
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -469,3 +469,10 @@ md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx)
469 ctx->D = D; 469 ctx->D = D;
470} 470}
471#endif 471#endif
472
473/*
474 * Hey Emacs!
475 * Local Variables:
476 * coding: utf-8
477 * End:
478 */
diff --git a/lib/md5.h b/lib/md5.h
index 4adfcdd9cfd..d89f819a97b 100644
--- a/lib/md5.h
+++ b/lib/md5.h
@@ -133,3 +133,10 @@ extern int __md5_stream (FILE *stream, void *resblock) __THROW;
133# endif 133# endif
134 134
135#endif /* md5.h */ 135#endif /* md5.h */
136
137/*
138 * Hey Emacs!
139 * Local Variables:
140 * coding: utf-8
141 * End:
142 */
diff --git a/lib/sha1.c b/lib/sha1.c
index 89a0f71e203..ce0f0b2e71f 100644
--- a/lib/sha1.c
+++ b/lib/sha1.c
@@ -434,3 +434,10 @@ sha1_process_block (const void *buffer, size_t len, struct sha1_ctx *ctx)
434 } 434 }
435} 435}
436#endif 436#endif
437
438/*
439 * Hey Emacs!
440 * Local Variables:
441 * coding: utf-8
442 * End:
443 */
diff --git a/lib/sha1.h b/lib/sha1.h
index 62c507bbdf0..b1db15da1e7 100644
--- a/lib/sha1.h
+++ b/lib/sha1.h
@@ -98,3 +98,10 @@ extern int sha1_stream (FILE *stream, void *resblock);
98# endif 98# endif
99 99
100#endif 100#endif
101
102/*
103 * Hey Emacs!
104 * Local Variables:
105 * coding: utf-8
106 * End:
107 */
diff --git a/lib/sha256.c b/lib/sha256.c
index 2f28fcd7100..85405b20fdf 100644
--- a/lib/sha256.c
+++ b/lib/sha256.c
@@ -577,3 +577,10 @@ sha256_process_block (const void *buffer, size_t len, struct sha256_ctx *ctx)
577 } 577 }
578} 578}
579#endif 579#endif
580
581/*
582 * Hey Emacs!
583 * Local Variables:
584 * coding: utf-8
585 * End:
586 */
diff --git a/lib/sha256.h b/lib/sha256.h
index ca06691241a..e3449864bb6 100644
--- a/lib/sha256.h
+++ b/lib/sha256.h
@@ -101,3 +101,10 @@ extern int sha224_stream (FILE *stream, void *resblock);
101# endif 101# endif
102 102
103#endif 103#endif
104
105/*
106 * Hey Emacs!
107 * Local Variables:
108 * coding: utf-8
109 * End:
110 */
diff --git a/lib/sha512.c b/lib/sha512.c
index d6a8ce181a1..8a6dd4e83ac 100644
--- a/lib/sha512.c
+++ b/lib/sha512.c
@@ -629,3 +629,10 @@ sha512_process_block (const void *buffer, size_t len, struct sha512_ctx *ctx)
629 } 629 }
630} 630}
631#endif 631#endif
632
633/*
634 * Hey Emacs!
635 * Local Variables:
636 * coding: utf-8
637 * End:
638 */
diff --git a/lib/sha512.h b/lib/sha512.h
index 516e75b3013..6a0aadba02f 100644
--- a/lib/sha512.h
+++ b/lib/sha512.h
@@ -104,3 +104,10 @@ extern int sha384_stream (FILE *stream, void *resblock);
104# endif 104# endif
105 105
106#endif 106#endif
107
108/*
109 * Hey Emacs!
110 * Local Variables:
111 * coding: utf-8
112 * End:
113 */
diff --git a/lib/signal.in.h b/lib/signal.in.h
index 483413dc7f5..7d4927b828e 100644
--- a/lib/signal.in.h
+++ b/lib/signal.in.h
@@ -137,7 +137,7 @@ _GL_FUNCDECL_RPL (pthread_sigmask, int,
137_GL_CXXALIAS_RPL (pthread_sigmask, int, 137_GL_CXXALIAS_RPL (pthread_sigmask, int,
138 (int how, const sigset_t *new_mask, sigset_t *old_mask)); 138 (int how, const sigset_t *new_mask, sigset_t *old_mask));
139# else 139# else
140# if !@HAVE_PTHREAD_SIGMASK@ 140# if !(@HAVE_PTHREAD_SIGMASK@ || defined pthread_sigmask)
141_GL_FUNCDECL_SYS (pthread_sigmask, int, 141_GL_FUNCDECL_SYS (pthread_sigmask, int,
142 (int how, const sigset_t *new_mask, sigset_t *old_mask)); 142 (int how, const sigset_t *new_mask, sigset_t *old_mask));
143# endif 143# endif
diff --git a/lib/stat-time.h b/lib/stat-time.h
index 5f8bf4e126f..104f5376682 100644
--- a/lib/stat-time.h
+++ b/lib/stat-time.h
@@ -102,15 +102,13 @@ get_stat_mtime_ns (struct stat const *st)
102 102
103/* Return the nanosecond component of *ST's birth time. */ 103/* Return the nanosecond component of *ST's birth time. */
104_GL_STAT_TIME_INLINE long int _GL_ATTRIBUTE_PURE 104_GL_STAT_TIME_INLINE long int _GL_ATTRIBUTE_PURE
105get_stat_birthtime_ns (struct stat const *st) 105get_stat_birthtime_ns (struct stat const *st _GL_UNUSED)
106{ 106{
107# if defined HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 107# if defined HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC
108 return STAT_TIMESPEC (st, st_birthtim).tv_nsec; 108 return STAT_TIMESPEC (st, st_birthtim).tv_nsec;
109# elif defined HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 109# elif defined HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC
110 return STAT_TIMESPEC_NS (st, st_birthtim); 110 return STAT_TIMESPEC_NS (st, st_birthtim);
111# else 111# else
112 /* Avoid a "parameter unused" warning. */
113 (void) st;
114 return 0; 112 return 0;
115# endif 113# endif
116} 114}
@@ -160,7 +158,7 @@ get_stat_mtime (struct stat const *st)
160/* Return *ST's birth time, if available; otherwise return a value 158/* Return *ST's birth time, if available; otherwise return a value
161 with tv_sec and tv_nsec both equal to -1. */ 159 with tv_sec and tv_nsec both equal to -1. */
162_GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE 160_GL_STAT_TIME_INLINE struct timespec _GL_ATTRIBUTE_PURE
163get_stat_birthtime (struct stat const *st) 161get_stat_birthtime (struct stat const *st _GL_UNUSED)
164{ 162{
165 struct timespec t; 163 struct timespec t;
166 164
@@ -184,8 +182,6 @@ get_stat_birthtime (struct stat const *st)
184 /* Birth time is not supported. */ 182 /* Birth time is not supported. */
185 t.tv_sec = -1; 183 t.tv_sec = -1;
186 t.tv_nsec = -1; 184 t.tv_nsec = -1;
187 /* Avoid a "parameter unused" warning. */
188 (void) st;
189#endif 185#endif
190 186
191#if (defined HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC \ 187#if (defined HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC \
@@ -212,7 +208,7 @@ get_stat_birthtime (struct stat const *st)
212 errno to EOVERFLOW if normalization overflowed. This function 208 errno to EOVERFLOW if normalization overflowed. This function
213 is intended to be private to this .h file. */ 209 is intended to be private to this .h file. */
214_GL_STAT_TIME_INLINE int 210_GL_STAT_TIME_INLINE int
215stat_time_normalize (int result, struct stat *st) 211stat_time_normalize (int result, struct stat *st _GL_UNUSED)
216{ 212{
217#if defined __sun && defined STAT_TIMESPEC 213#if defined __sun && defined STAT_TIMESPEC
218 if (result == 0) 214 if (result == 0)