diff options
| author | Paul Eggert | 2014-02-05 11:41:03 -0800 |
|---|---|---|
| committer | Paul Eggert | 2014-02-05 11:41:03 -0800 |
| commit | 06c2ec49462474205dbd79a5dbd96bf73367d949 (patch) | |
| tree | 90a5090472895f15ff1fa9aa0bbe475a914b180c | |
| parent | 81f9a6edde971d8ec7d31cab03a766feb6ae074b (diff) | |
| download | emacs-06c2ec49462474205dbd79a5dbd96bf73367d949.tar.gz emacs-06c2ec49462474205dbd79a5dbd96bf73367d949.zip | |
Merge from gnulib.
This incorporates:
2014-01-23 pthread: work around winpthread header pollution on mingw
* lib/time.in.h: Update from gnulib.
* doc/misc/texinfo.tex: Update from texinfo.
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/misc/texinfo.tex | 14 | ||||
| -rw-r--r-- | lib/time.in.h | 11 |
4 files changed, 24 insertions, 11 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-02-05 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Merge from gnulib, incorporating: | ||
| 4 | 2014-01-23 pthread: work around winpthread header pollution on mingw | ||
| 5 | * lib/time.in.h: Update from gnulib. | ||
| 6 | |||
| 1 | 2014-01-23 Paul Eggert <eggert@cs.ucla.edu> | 7 | 2014-01-23 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 8 | ||
| 3 | Merge from gnulib, incorporating: | 9 | Merge from gnulib, incorporating: |
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 0b79841256e..f1d06e0b1be 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-02-05 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * texinfo.tex: Update from gnulib. | ||
| 4 | |||
| 1 | 2014-02-05 Glenn Morris <rgm@gnu.org> | 5 | 2014-02-05 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * epa.texi: Add indices. | 7 | * epa.texi: Add indices. |
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex index 704d66453f5..174e4abafda 100644 --- a/doc/misc/texinfo.tex +++ b/doc/misc/texinfo.tex | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | % Load plain if necessary, i.e., if running under initex. | 3 | % Load plain if necessary, i.e., if running under initex. |
| 4 | \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi | 4 | \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi |
| 5 | % | 5 | % |
| 6 | \def\texinfoversion{2014-01-16.10} | 6 | \def\texinfoversion{2014-01-30.15} |
| 7 | % | 7 | % |
| 8 | % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, | 8 | % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, |
| 9 | % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, | 9 | % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, |
| @@ -4649,6 +4649,16 @@ end | |||
| 4649 | \definedummyword\verb | 4649 | \definedummyword\verb |
| 4650 | \definedummyword\w | 4650 | \definedummyword\w |
| 4651 | \definedummyword\xref | 4651 | \definedummyword\xref |
| 4652 | % | ||
| 4653 | % Consider: | ||
| 4654 | % @macro mkind{arg1,arg2} | ||
| 4655 | % @cindex \arg2\ | ||
| 4656 | % @end macro | ||
| 4657 | % @mkind{foo, bar} | ||
| 4658 | % The space after the comma will end up in the temporary definition | ||
| 4659 | % that we make for arg2 (see \parsemargdef ff.). We want all this to be | ||
| 4660 | % expanded for the sake of the index, so we end up just seeing "bar". | ||
| 4661 | \let\xeatspaces = \eatspaces | ||
| 4652 | } | 4662 | } |
| 4653 | 4663 | ||
| 4654 | % \indexnofonts is used when outputting the strings to sort the index | 4664 | % \indexnofonts is used when outputting the strings to sort the index |
| @@ -7474,7 +7484,7 @@ end | |||
| 7474 | 7484 | ||
| 7475 | % Parse the optional {params} list. Set up \paramno and \paramlist | 7485 | % Parse the optional {params} list. Set up \paramno and \paramlist |
| 7476 | % so \defmacro knows what to do. Define \macarg.BLAH for each BLAH | 7486 | % so \defmacro knows what to do. Define \macarg.BLAH for each BLAH |
| 7477 | % in the params list to some hook where the argument si to be expanded. If | 7487 | % in the params list to some hook where the argument is to be expanded. If |
| 7478 | % there are less than 10 arguments that hook is to be replaced by ##N where N | 7488 | % there are less than 10 arguments that hook is to be replaced by ##N where N |
| 7479 | % is the position in that list, that is to say the macro arguments are to be | 7489 | % is the position in that list, that is to say the macro arguments are to be |
| 7480 | % defined `a la TeX in the macro body. | 7490 | % defined `a la TeX in the macro body. |
diff --git a/lib/time.in.h b/lib/time.in.h index 58dc5bf291b..81abdf46e0b 100644 --- a/lib/time.in.h +++ b/lib/time.in.h | |||
| @@ -48,20 +48,13 @@ | |||
| 48 | 48 | ||
| 49 | /* Some systems don't define struct timespec (e.g., AIX 4.1, Ultrix 4.3). | 49 | /* Some systems don't define struct timespec (e.g., AIX 4.1, Ultrix 4.3). |
| 50 | Or they define it with the wrong member names or define it in <sys/time.h> | 50 | Or they define it with the wrong member names or define it in <sys/time.h> |
| 51 | (e.g., FreeBSD circa 1997). Stock Mingw does not define it, but the | 51 | (e.g., FreeBSD circa 1997). Stock Mingw prior to 3.0 does not define it, |
| 52 | pthreads-win32 library defines it in <pthread.h>. */ | 52 | but the pthreads-win32 library defines it in <pthread.h>. */ |
| 53 | # if ! @TIME_H_DEFINES_STRUCT_TIMESPEC@ | 53 | # if ! @TIME_H_DEFINES_STRUCT_TIMESPEC@ |
| 54 | # if @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ | 54 | # if @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ |
| 55 | # include <sys/time.h> | 55 | # include <sys/time.h> |
| 56 | # elif @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ | 56 | # elif @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ |
| 57 | # include <pthread.h> | 57 | # include <pthread.h> |
| 58 | /* The pthreads-win32 <pthread.h> also defines a couple of broken macros. */ | ||
| 59 | # undef asctime_r | ||
| 60 | # undef ctime_r | ||
| 61 | # undef gmtime_r | ||
| 62 | # undef localtime_r | ||
| 63 | # undef rand_r | ||
| 64 | # undef strtok_r | ||
| 65 | # else | 58 | # else |
| 66 | 59 | ||
| 67 | # ifdef __cplusplus | 60 | # ifdef __cplusplus |