From 29141665ddc8055d197652e59a512147f1dcf574 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 10 Feb 2018 12:24:18 +0200 Subject: Update pc/Makefile.tst. --- pc/ChangeLog | 4 ++++ pc/Makefile.tst | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pc/ChangeLog b/pc/ChangeLog index 98b92d0a..0ac91608 100644 --- a/pc/ChangeLog +++ b/pc/ChangeLog @@ -1,3 +1,7 @@ +2018-02-10 Eli Zaretskii + + * Makefile.tst (MPFR_TESTS): Update to match test/Makefile.in. + 2018-02-03 Eli Zaretskii * Makefile.tst (BASIC_TESTS): Add numstr1. diff --git a/pc/Makefile.tst b/pc/Makefile.tst index f0d13415..a5d5e373 100644 --- a/pc/Makefile.tst +++ b/pc/Makefile.tst @@ -222,7 +222,9 @@ ARRAYDEBUG_TESTS = arrdbg EXTRA_TESTS = inftest regtest ignrcas3 INET_TESTS = inetdayu inetdayt inetechu inetecht MACHINE_TESTS = double1 double2 fmtspcl intformat -MPFR_TESTS = mpfrnr mpfrnegzero mpfrmemok1 mpfrrem mpfrrnd mpfrrndeval mpfrieee +MPFR_TESTS = mpfrbigint mpfrexprange mpfrieee mpfrmemok1 mpfrnegzero \ + mpfrnr mpfrrem mpfrrnd mpfrrndeval mpfrsort mpfrsqrt \ + mpfrstrtonum mpgforcenum mpfruplus LOCALE_CHARSET_TESTS = \ asort asorti backbigs1 backsmalls1 backsmalls2 \ fmttest fnarydel fnparydl jarebug lc_num1 mbfw1 \ -- cgit v1.2.3 From 8c0f1dcdd4a05a002ae01f586bc0b5386db903d4 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sat, 10 Feb 2018 19:53:27 +0200 Subject: Do fflush(NULL) before abort(), for GLIBC 2.27. --- ChangeLog | 6 ++++++ main.c | 4 ++++ msg.c | 2 ++ 3 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index b467eb23..087dd7c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-02-10 Arnold D. Robbins + + * main.c, msg.c: Add a call to fflush(NULL) before each call + to abort(), since GLIBC 2.27 doesn't necessarily flush before + aborting. Thanks to Nelson H.F. Beebe for the report. + 2018-02-09 Arnold D. Robbins * io.c (socketopen): Rearrange assigning the flags to use diff --git a/main.c b/main.c index 2860d246..25a628ba 100644 --- a/main.c +++ b/main.c @@ -1226,6 +1226,8 @@ catchsig(int sig) set_loc(__FILE__, __LINE__); msg(_("fatal error: internal error")); /* fatal won't abort() if not compiled for debugging */ + // GLIBC 2.27 doesn't necessarily flush on abort. Sigh. + fflush(NULL); abort(); } else cant_happen(); @@ -1240,6 +1242,7 @@ catchsegv(void *fault_address, int serious) { set_loc(__FILE__, __LINE__); msg(_("fatal error: internal error: segfault")); + fflush(NULL); abort(); /*NOTREACHED*/ return 0; @@ -1252,6 +1255,7 @@ catchstackoverflow(int emergency, stackoverflow_context_t scp) { set_loc(__FILE__, __LINE__); msg(_("fatal error: internal error: stack overflow")); + fflush(NULL); abort(); /*NOTREACHED*/ return; diff --git a/msg.c b/msg.c index b4746988..20732bcd 100644 --- a/msg.c +++ b/msg.c @@ -101,6 +101,8 @@ err(bool isfatal, const char *s, const char *emsg, va_list argp) if (isfatal) { #ifdef GAWKDEBUG + // GLIBC 2.27 doesn't necessarily flush on abort. Sigh. + fflush(NULL); abort(); #endif gawk_exit(EXIT_FATAL); -- cgit v1.2.3 From c456bfb67cdfd71b869d059ce50335ef80c2c271 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sat, 10 Feb 2018 22:04:26 +0200 Subject: Move mtchi18n test into locale tests. --- test/ChangeLog | 6 ++++++ test/Makefile.am | 4 ++-- test/Makefile.in | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/test/ChangeLog b/test/ChangeLog index c239ba24..e633b33e 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,9 @@ +2018-02-10 Arnold D. Robbins + + * Makefile.am (mtchi18n): Move into locale tests. + Thanks to Kiyoshi KANAZAWA + for the report. + 2018-02-07 Andrew J. Schorr * Makefile.am (uplus, mpfruplus): Add new tests. diff --git a/test/Makefile.am b/test/Makefile.am index 1100cb4c..bf1dbd32 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1236,7 +1236,7 @@ BASIC_TESTS = \ hex hex2 hsprint \ inpref inputred intest intprec iobug1 \ leaddig leadnl litoct longsub longwrds \ - manglprm math membug1 memleak messages minusstr mmap8k mtchi18n \ + manglprm math membug1 memleak messages minusstr mmap8k \ nasty nasty2 negexp negrange nested nfldstr nfloop nfneg nfset nlfldsep \ nlinstr nlstrina noeffect nofile nofmtch noloop1 noloop2 nonl noparms \ nors nulinsrc nulrsend numindex numstr1 numsubstr \ @@ -1308,7 +1308,7 @@ LOCALE_CHARSET_TESTS = \ asort asorti backbigs1 backsmalls1 backsmalls2 \ fmttest fnarydel fnparydl jarebug lc_num1 mbfw1 \ mbprintf1 mbprintf2 mbprintf3 mbprintf4 mbprintf5 \ - nlstringtest rebt8b2 rtlenmb sort1 sprintfc + mtchi18n nlstringtest rebt8b2 rtlenmb sort1 sprintfc SHLIB_TESTS = \ apiterm \ diff --git a/test/Makefile.in b/test/Makefile.in index 3de436f0..f96151be 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -1493,7 +1493,7 @@ BASIC_TESTS = \ hex hex2 hsprint \ inpref inputred intest intprec iobug1 \ leaddig leadnl litoct longsub longwrds \ - manglprm math membug1 memleak messages minusstr mmap8k mtchi18n \ + manglprm math membug1 memleak messages minusstr mmap8k \ nasty nasty2 negexp negrange nested nfldstr nfloop nfneg nfset nlfldsep \ nlinstr nlstrina noeffect nofile nofmtch noloop1 noloop2 nonl noparms \ nors nulinsrc nulrsend numindex numstr1 numsubstr \ @@ -1561,7 +1561,7 @@ LOCALE_CHARSET_TESTS = \ asort asorti backbigs1 backsmalls1 backsmalls2 \ fmttest fnarydel fnparydl jarebug lc_num1 mbfw1 \ mbprintf1 mbprintf2 mbprintf3 mbprintf4 mbprintf5 \ - nlstringtest rebt8b2 rtlenmb sort1 sprintfc + mtchi18n nlstringtest rebt8b2 rtlenmb sort1 sprintfc SHLIB_TESTS = \ apiterm \ -- cgit v1.2.3 From e988fbb61b477a61114e83bf988f10b397e641fb Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sat, 10 Feb 2018 22:07:08 +0200 Subject: Update Italian translation. --- doc/it/ChangeLog | 4 ++++ doc/it/gawktexi.in | 22 ++++++++++++++++------ 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/doc/it/ChangeLog b/doc/it/ChangeLog index a1005d31..af808bbf 100644 --- a/doc/it/ChangeLog +++ b/doc/it/ChangeLog @@ -1,3 +1,7 @@ +2018-02-10 Antonio Giovanni Colombo + + * gawktexi.in: More updates. + 2018-01-26 Antonio Giovanni Colombo * gawktexi.in: More updates. diff --git a/doc/it/gawktexi.in b/doc/it/gawktexi.in index 0a563053..ffd99a22 100644 --- a/doc/it/gawktexi.in +++ b/doc/it/gawktexi.in @@ -5580,12 +5580,12 @@ Nuova pagina, @kbd{Ctrl-l}, codice ASCII 12 (FF). @cindex @code{\} (barra inversa), @code{\n}, sequenza di protezione @cindex barra inversa (@code{\}), @code{\n}, sequenza di protezione @item \n -A capo, @kbd{Ctrl-j}, codice ASCII 10 (LF). +A-capo, @kbd{Ctrl-j}, codice ASCII 10 (LF). @cindex @code{\} (barra inversa), @code{\r}, sequenza di protezione @cindex barra inversa (@code{\}), @code{\r}, sequenza di protezione @item \r -Ritorno del carrello, @kbd{Ctrl-m}, codice ASCII 13 (CR). +Ritorno-del-carrello, @kbd{Ctrl-m}, codice ASCII 13 (CR). @cindex @code{\} (barra inversa), @code{\t}, sequenza di protezione @cindex barra inversa (@code{\}), @code{\t}, sequenza di protezione @@ -29960,7 +29960,7 @@ TCP del sistema locale. Stampa poi il risultato e chiude la connessione. Poich@'e questo tema @`e molto ampio, l'uso di @command{gawk} per -la programmazione TCP/IP viene documentato separatamente. +la programmazione TCP/IP viene documentata separatamente. @ifinfo Si veda @inforef{Top, , General Introduction, gawkinet, @value{GAWKINETTITLE}}, @@ -42054,9 +42054,10 @@ usando gli strumenti MinGW, scrivere @samp{make mingw32}. @cindex PC, @command{gawk} su sistemi operativi @cindex sistemi operativi PC, @command{gawk} su -Sotto MS-Windows, gli ambienti Cygwin e MinGW consentono di usare +Sotto MS-Windows, l'ambiente MinGW consente di usare sia l'operatore @samp{|&} che le operazioni su rete TCP/IP (@pxref{Reti TCP/IP}). +L'ambiente DJGPP non consente di usare @samp{|&}. @cindex percorso di ricerca @cindex percorso di ricerca per file sorgente @@ -42187,8 +42188,17 @@ make && make check @end example In confronto a un sistema GNU/Linux sulla stessa macchina, l'esecuzione -del passo di @samp{configure} sotto Cygwin richiede molto pi@`u tempo. Tuttavia -si conclude regolarmente, e poi @samp{make} funziona come ci si aspetta. +del passo di @samp{configure} sotto Cygwin richiede molto pi@`u tempo. +Tuttavia si conclude regolarmente, e poi @samp{make} funziona come ci si +aspetta. + +Le versioni più recenti di Cygwin aprono tutti i file in modalità binaria. +Ciò implica che si dovrebbe usare @samp{RS = "\r?\n"} per riuscire a +gestire file di testo MS-Windows in formato standard, in cui ogni riga +termina con i due caratteri di Ritorno-del-carrello e A-capo. + +L'ambiente Cygwin consente l'utilizzo sia dell'operatore @samp{|&} +che di reti TCP/IP (@pxref{Reti TCP/IP}). @node MSYS @appendixsubsubsec Usare @command{gawk} in ambiente MSYS -- cgit v1.2.3