[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-3667-gc0e9f7
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-3667-gc0e9f73 |
Date: |
Mon, 25 Feb 2019 02:24:32 -0500 (EST) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, master has been updated
via c0e9f73728d1c38ebce5fdd45df508fff26e26c4 (commit)
via 44611db36ba329fab248179e0350d44fcff5e3c2 (commit)
via ef25d1166e7a183dd4d07f73904775234359de81 (commit)
from f14c8d4f9b88e0b40a90ded574e0a1b496e305da (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=c0e9f73728d1c38ebce5fdd45df508fff26e26c4
commit c0e9f73728d1c38ebce5fdd45df508fff26e26c4
Author: Arnold D. Robbins <address@hidden>
Date: Mon Feb 25 09:25:41 2019 +0200
Small profiling improvements.
diff --git a/ChangeLog b/ChangeLog
index 7bb1efc..356cb02 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
2019-02-25 Arnold D. Robbins <address@hidden>
+ Small profiling improvements. Suggested by mukti
+ <address@hidden>.
+
+ * main.c (parse_args): Add warnings that --profile overrides
+ --pretty-print.
+ (main): Move setuid warning to after all the warnings for conflicting
+ arguments.
+ * profile.c (pprint): Don't print extra trailing space after return
+ and exit if no value associated with the statement.
+
+2019-02-25 Arnold D. Robbins <address@hidden>
+
* configure.ac: Set ZOS_FAIL if on ZOS to improve test suite on that
platform.
* awk.h (is_valid_identifier): Move declaration outside ifdef DYNAMIC.
diff --git a/main.c b/main.c
index 5800231..b4ca5fd 100644
--- a/main.c
+++ b/main.c
@@ -331,6 +331,7 @@ main(int argc, char **argv)
_("environment variable `POSIXLY_CORRECT' set: turning on `--posix'"));
}
+ // Checks for conflicting command-line arguments.
if (do_posix) {
use_lc_numeric = true;
if (do_traditional) /* both on command line */
@@ -348,9 +349,6 @@ main(int argc, char **argv)
warning(_("`--posix'/`--traditional' overrides
`--non-decimal-data'"));
}
- if (do_lint && os_is_setuid())
- warning(_("running %s setuid root may be a security problem"),
myname);
-
if (do_binary) {
if (do_posix)
warning(_("`--posix' overrides
`--characters-as-bytes'"));
@@ -361,6 +359,9 @@ main(int argc, char **argv)
#endif
}
+ if (do_lint && os_is_setuid())
+ warning(_("running %s setuid root may be a security problem"),
myname);
+
if (do_debug) /* Need to register the debugger pre-exec hook before
any other */
init_debug();
@@ -1626,9 +1627,13 @@ parse_args(int argc, char **argv)
break;
case 'p':
+ if (do_pretty_print)
+ warning(_("`--profile' overrides
`--pretty-print'"));
do_flags |= DO_PROFILE;
/* fall through */
case 'o':
+ if (c == 'o' && do_profile)
+ warning(_("`--profile' overrides
`--pretty-print'"));
do_flags |= DO_PRETTY_PRINT;
if (optarg != NULL)
set_prof_file(optarg);
diff --git a/profile.c b/profile.c
index 6e92f60..910a821 100644
--- a/profile.c
+++ b/profile.c
@@ -807,7 +807,11 @@ cleanup:
if (is_binary(t1->type))
pp_parenthesize(t1);
if (pc->source_line > 0) { /* don't print implicit
'return' at end of function */
- fprintf(prof_fp, "%s %s", op2str(pc->opcode),
t1->pp_str);
+ // avoid final trailing space to keep whiny
users happy
+ if (t1->pp_str[0] != '\0')
+ fprintf(prof_fp, "%s %s",
op2str(pc->opcode), t1->pp_str);
+ else
+ fprintf(prof_fp, "%s",
op2str(pc->opcode));
pc = end_line(pc);
}
pp_free(t1);
diff --git a/test/ChangeLog b/test/ChangeLog
index a30560f..56d91b7 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,5 +1,9 @@
2019-02-25 Arnold D. Robbins <address@hidden>
+ * nsprof2.ok, profile5.ok: Updated after code changes.
+
+2019-02-25 Arnold D. Robbins <address@hidden>
+
* Makefile.am (EXPECTED_FAIL_ZOS): New group of tests expected to
fail on ZOS.
(ZOS_FAIL): New macro set by autoconf.
diff --git a/test/nsprof2.ok b/test/nsprof2.ok
index 5a86183..5c3e27a 100644
--- a/test/nsprof2.ok
+++ b/test/nsprof2.ok
@@ -46,7 +46,7 @@ function awk::getpwuid(uid)
function Init(oldfs, oldrs, olddol0, pwcat, using_fw, using_fpat)
{
if (Inited) {
- return
+ return
}
oldfs = FS
oldrs = RS
diff --git a/test/profile5.ok b/test/profile5.ok
index e15e96a..1b32ced 100644
--- a/test/profile5.ok
+++ b/test/profile5.ok
@@ -297,7 +297,7 @@ BEGIN {
########################################################################
ENVIRON["EGAWK_CMDLINE"] = a
_lib_APPLY()
if (_basexit_fl) {
- exit
+ exit
}
_INIT()
_START()
@@ -697,19 +697,19 @@ function _ARR(c, t, P)
return t
#___________________________________________________________
case "_lib_APPLY":
- return
+ return
#___________________________________________________________
case "_lib_HELP":
- return
+ return
#___________________________________________________________
case "_lib_NAMEVER":
return _ln("_ARR 1.0")
#___________________________________________________________
case "_lib_BEGIN":
- return
+ return
#___________________________________________________________
case "_lib_END":
- return
+ return
}
}
@@ -739,7 +739,7 @@ function _BASE(c, t, P, A)
_out(_ln(_PRODUCT_NAME " v" _PRODUCT_VERSION)
_ln(_PRODUCT_COPYRIGHT) _ln() (_cmdln_version == "v" ? "" : _lib_NAMEVER()))
return _endpass(_basexit_fl = 1)
}
- return
+ return
#___________________________________________________________
case "_lib_HELP":
return ("\000" _ln(_PRODUCT_NAME " v" _PRODUCT_VERSION)
_ln(_PRODUCT_COPYRIGHT) _ln() _ln(" Usage:") _ln() _ln(" " _PRODUCT_FILENAME
" [/key1 /key2...] [-- cmdline]") _ln() _ln(" keys:") _ln() "\001" _ln(" -v
-V --version - output product version and (if /V) all
modules") _ln(" ? -? --help - output this help page")
_ln(" -- - command line string edge"))
@@ -748,10 +748,10 @@ function _BASE(c, t, P, A)
return _ln("_BASE 3.0")
#___________________________________________________________
case "_lib_BEGIN":
- return
+ return
#___________________________________________________________
case "_lib_END":
- return
+ return
}
}
@@ -765,19 +765,19 @@ function _DS(c, t, P, a, A)
return t
#_____________________________________________________
case "_lib_APPLY":
- return
+ return
#_____________________________________________________
case "_lib_HELP":
return (_ln() _ln(" Usage: " _PRODUCT_NAME " [/key1 /key2...]
sourcefile [cmdline]") _ln())
#_____________________________________________________
case "_lib_NAMEVER":
- return
+ return
#_____________________________________________________
case "_lib_BEGIN":
- return
+ return
#_____________________________________________________
case "_lib_END":
- return
+ return
}
}
@@ -832,7 +832,7 @@ function _ERRLOG(c, t, P, a, b, A)
_info("Log-message types inherited acc/deny: "
"TRACE " (_ERRLOG_TF ? "ON" : "OFF") "/" "VERBOSE " (_ERRLOG_VF ? "ON" : "OFF")
"/" "INFO " (_ERRLOG_IF ? "ON" : "OFF") "/" "WARNING " (_ERRLOG_WF ? "ON" :
"OFF") "/" "ERROR " (_ERRLOG_EF ? "ON" : "OFF") "/" "FATAL " (_ERRLOG_FF ? "ON"
: "OFF"))
}
}
- return
+ return
#_______________________________________________________________________
case "_lib_HELP":
return (_ln(" -L:TtVvIiWwEeFf -
enable(upcase: TVIWEF) or disable(lowcase: tviwef) allowable type of") _ln("
log messages.
Trace/Verbose/Informational/Warning/Error/Fatal.") _ln())
@@ -848,7 +848,7 @@ function _ERRLOG(c, t, P, a, b, A)
P["_ERRLOG_EF"] = _ERRLOG_EF
P["_ERRLOG_FF"] = _ERRLOG_FF
P["_errlog_file"] = "/dev/stderr"
- return
+ return
}
}
@@ -866,19 +866,19 @@ function _EXTFN(c, t, P)
return t
#___________________________________________________________
case "_lib_APPLY":
- return
+ return
#___________________________________________________________
case "_lib_HELP":
- return
+ return
#___________________________________________________________
case "_lib_NAMEVER":
return _ln("_EXTFN 1.0")
#___________________________________________________________
case "_lib_BEGIN":
- return
+ return
#___________________________________________________________
case "_lib_END":
- return
+ return
}
}
@@ -901,7 +901,7 @@ function _FILEIO(c, t, P, A)
if (_fileio_notdeltmpflag) {
_info("Temporary objects deletion DISABLED (inherited)")
}
- return
+ return
#___________________________________________________________
case "_lib_HELP":
return (_ln(" -[Tt][+-] -
inherited: +enable\\-disable temporary files\\dirs deletion") _ln())
@@ -917,10 +917,10 @@ function _FILEIO(c, t, P, A)
if (! ("_FILEIO_TMPRD" in P)) {
P["_FILEIO_TMPRD"] = _getmpdir(_filen(P["SOURCE"]) "."
++_egawk_subcntr _CHR["SUBDIR"])
}
- return
+ return
#___________________________________________________________
case "_lib_END":
- return
+ return
}
}
@@ -936,19 +936,19 @@ function _FILEVER(c, t, P, a, A)
return t
#_____________________________________________________
case "_lib_APPLY":
- return
+ return
#_____________________________________________________
case "_lib_HELP":
- return
+ return
#_____________________________________________________
case "_lib_NAMEVER":
- return
+ return
#_____________________________________________________
case "_lib_BEGIN":
- return
+ return
#_____________________________________________________
case "_lib_END":
- return
+ return
}
}
@@ -978,19 +978,19 @@ function _INSTRUC(c, t, P)
return t
#___________________________________________________________
case "_lib_APPLY":
- return
+ return
#___________________________________________________________
case "_lib_HELP":
- return
+ return
#___________________________________________________________
case "_lib_NAMEVER":
return _ln("_INSTRUC 1.0")
#___________________________________________________________
case "_lib_BEGIN":
- return
+ return
#___________________________________________________________
case "_lib_END":
- return
+ return
}
}
@@ -1019,19 +1019,19 @@ function _SHORTCUT(c, t, P)
return t
#___________________________________________________________
case "_lib_APPLY":
- return
+ return
#___________________________________________________________
case "_lib_HELP":
- return
+ return
#___________________________________________________________
case "_lib_NAMEVER":
return _ln("_shortcut 1.0")
#___________________________________________________________
case "_lib_BEGIN":
- return
+ return
#___________________________________________________________
case "_lib_END":
- return
+ return
}
}
@@ -1041,10 +1041,10 @@ function _START(t, i, A)
#########################################################################
_torexp_init()
test_uid()
- return
+ return
_conl(patsplit("a,b,c", A, /[^,]/, B))
test_splitstr()
- return
+ return
A[""]
_CLASSPTR["ptr"]
ALTARR["ptra"]
@@ -1065,12 +1065,12 @@ function _START(t, i, A)
_rtn("ptra", ALTARR)
_rtn(ALTARR)
_rtn(ALTARR, ALTARR)
- return
+ return
_tstini()
- return
+ return
_splitpath_test()
# _split_regpath()
- return
+ return
hh = "CPU"
_conl("go1!")
_conl(_var(_sharepath(hh, "gdfsgdsgsd sdgsdighjui teretiewrotrewut
345345345 rtjtireutireu huj")))
@@ -1086,7 +1086,7 @@ function _START(t, i, A)
_conl("not match")
}
_conl(_dumparr(A))
- return
+ return
_pathSMA = "C:\\Program Files\\Altiris\\Altiris Agent\\"
DSPlugInPath = _pathSMA "Agents\\Deployment\\Agent\\"
DSAutoPath = _pathSMA
@@ -1152,19 +1152,19 @@ function _SYSIO(c, t, P)
return t
#___________________________________________________________
case "_lib_APPLY":
- return
+ return
#___________________________________________________________
case "_lib_HELP":
- return
+ return
#___________________________________________________________
case "_lib_NAMEVER":
return _ln("_SYSIO 1.0")
#___________________________________________________________
case "_lib_BEGIN":
- return
+ return
#___________________________________________________________
case "_lib_END":
- return
+ return
}
}
@@ -1459,7 +1459,7 @@ function _addfile(f, d, a, b)
##################################
if (((f = _wfilerdnehnd(f)) == "") || (_filene(f) == "")) {
ERRNO = "Filename error"
- return
+ return
}
a = BINMODE
BINMODE = "rw"
@@ -2214,7 +2214,7 @@ function _dumparr_i1(A, lv, ls, ln, t, t2, i, a, f)
_DUMPARR[++_dumparrc] = _dumparrd
_dumparrd = ""
}
- return
+ return
}
if (ls >= 0) {
for (i in A) {
@@ -2300,7 +2300,7 @@ function _dumpobj_i3(A, t, p, e, s, i, t2)
return (e == "" ? "" : t e)
}
if (A == 0 && A == "") {
- return
+ return
}
return _ln(t "=" _dumpobj_i4(p A) "'")
}
@@ -2383,19 +2383,19 @@ function _eXTFN(c, t, P)
return t
#___________________________________________________________
case "_lib_APPLY":
- return
+ return
#___________________________________________________________
case "_lib_HELP":
- return
+ return
#___________________________________________________________
case "_lib_NAMEVER":
return _ln("_extfn 1.0")
#___________________________________________________________
case "_lib_BEGIN":
- return
+ return
#___________________________________________________________
case "_lib_END":
- return
+ return
}
}
@@ -2515,7 +2515,7 @@ function _fatal(t, d, A)
_log(A, d)
}
if (! d) {
- exit
+ exit
}
}
@@ -3034,7 +3034,7 @@ function _getchrln(s, w)
{
#################################################
if (s == "") {
- return
+ return
#if ( w!=w+0 || w<0 ) w=_CON_WIDTH
}
if (length(s) < w) {
@@ -3394,7 +3394,7 @@ function _inituid(p, cs, dptr, pfx, sfx, hstr, lstr, A)
lstr = A[4]
} else {
ERRNO = "_inituid(): bad parameters"
- return
+ return
}
_conl(dptr ":" pfx "'" hstr "|" lstr "'" sfx)
return _cfguid(p, dptr, pfx, sfx, hstr, lstr)
@@ -3769,7 +3769,7 @@ function _newclrdir(f)
{
############################################
if ((f = _filerd(f)) == "") {
- return
+ return
}
_cmd("rd " f " /S /Q 2>NUL")
_cmd("md " f " 2>NUL")
@@ -3782,7 +3782,7 @@ function _newdir(f)
{
#####################################################
if ((f = _filerd(f)) == "") {
- return
+ return
}
if (! (f in _WFILEROOTDIR)) {
_cmd("md " f " 2>NUL")
@@ -3824,13 +3824,13 @@ function _nretarr(A, i, v, r, q)
_ARRSTR = _ARRSTR A[++i] A[++i] A[++i] A[++i]
A[++i] A[++i] A[++i] A[++i] A[++i] A[++i] A[++i] A[++i] A[++i] A[++i] A[++i]
A[++i]
}
_ARRSTR = _ARRSTR A[++i] A[++i] A[++i] A[++i] A[++i]
A[++i] A[++i] A[++i] A[++i] A[++i] A[++i] A[++i] A[++i] A[++i] A[++i] A[++i] v
_retarr_i0(A, q, i)
- return
+ return
}
_ARRSTR = A[i] A[++i] A[++i] A[++i] A[++i] A[++i] A[++i] A[++i]
A[++i] A[++i] A[++i] A[++i] A[++i] A[++i] A[++i] A[++i] v _retarr_i0(A, q, i)
- return
+ return
}
_ARRSTR = v
- return
+ return
}
#___________________________________________________________
@@ -4126,7 +4126,7 @@ function _printarr_i1(A, lv, ls, ln, t, t2, i, a, f)
_conl(_dumparrd)
_dumparrd = ""
}
- return
+ return
}
if (ls >= 0) {
for (i in A) {
@@ -4224,19 +4224,19 @@ function _rEG(c, t, P, a, A)
return t
#_____________________________________________________
case "_lib_APPLY":
- return
+ return
#_____________________________________________________
case "_lib_HELP":
- return
+ return
#_____________________________________________________
case "_lib_NAMEVER":
return _ln("_reg 0.001")
#_____________________________________________________
case "_lib_BEGIN":
- return
+ return
#_____________________________________________________
case "_lib_END":
- return
+ return
}
}
@@ -4422,7 +4422,7 @@ function _rSQNEXTA(g, p, A)
_SQTOPTR[g] = _SQSTACK[g][_SQSTACK[g][0]--]
return _rSQNEXTA(g, _SQSTACK[g][_SQSTACK[g][0]--], A)
}
- return
+ return
}
while (p in _tNEXT) {
if ((p = _rsqgetptr(g, _tNEXT[p])) in A) {
@@ -4465,7 +4465,7 @@ function _rdfile(f, i, A)
################################################
if (((f = _filerdne(f)) == "") || (_filene(f) == "")) {
ERRNO = "Filename error"
- return
+ return
}
_fio_cmda = RS
RS = ".{1,}"
@@ -4533,7 +4533,7 @@ function _rdreg_i0(D, A)
if (! _rdreg_i0(D)) {
++_rdregfld
D[_rdregp0 A[1] "." _RDREGTYPE[A[2]]] = A[9]
- return
+ return
} else {
break
}
@@ -4893,7 +4893,7 @@ function _rsqnext_i0(g, p)
_SQTOPTR[g] = _SQSTACK[g][_SQSTACK[g][0]--]
return _rsqnext_i0(g, _SQSTACK[g][_SQSTACK[g][0]--])
}
- return
+ return
}
if (p in _tNEXT) {
return _rsqgetptr(g, _tNEXT[p])
@@ -4946,19 +4946,19 @@ function _sHARE(c, t, P, a, A)
return t
#_____________________________________________________
case "_lib_APPLY":
- return
+ return
#_____________________________________________________
case "_lib_HELP":
- return
+ return
#_____________________________________________________
case "_lib_NAMEVER":
return _ln("_share 1.000")
#_____________________________________________________
case "_lib_BEGIN":
- return
+ return
#_____________________________________________________
case "_lib_END":
- return
+ return
}
}
@@ -4974,19 +4974,19 @@ function _sYS(c, t, P, a, A)
return t
#_____________________________________________________
case "_lib_APPLY":
- return
+ return
#_____________________________________________________
case "_lib_HELP":
- return
+ return
#_____________________________________________________
case "_lib_NAMEVER":
- return
+ return
#_____________________________________________________
case "_lib_BEGIN":
- return
+ return
#_____________________________________________________
case "_lib_END":
- return
+ return
}
}
@@ -5084,7 +5084,7 @@ function _shortcut(D, S)
} else if (_isnotfileptr(S)) {
_addarrmask(D, _[S], _SHORTCUTWSTRUC) # array*
- define shortcut-specific elements in array by default values
} else if (_rd_shortcut(D, S)) {
- return
+ return
} # array,ptr* - copy from array
_[ptr] to array shorcut-specific elements
} else if (D == 0 && D == "") {
return _NOP # -* - no
action(return -)
@@ -5096,17 +5096,17 @@ function _shortcut(D, S)
} else if (_isnotfileptr(S)) {
_addarrmask(_[D], _[S], _SHORTCUTWSTRUC) # ptr*
- define shortcut-specifc elements in array _[ptr] by default
values
} else if (_rd_shortcut(_[D], S)) {
- return
+ return
} # ptr,ptr2* - copy from
array _[ptr2] to array _[ptr] shorcut-specific elements
} else {
if (isarray(S) && _wr_shortcut(D, S)) {
- return # filepath,array* - [over]write
shorcut file filepath; shortcut parameters will be defined by shortcut-specific
elements in array(save shortcut)
+ return # filepath,array* - [over]write
shorcut file filepath; shortcut parameters will be defined by shortcut-specific
elements in array(save shortcut)
} else if (S == 0 && S == "" && _wr_shortcut(D,
_SHORTCUTDEFAULT)) {
- return # filepath* - [over]write
shorcut file filepath; shortcut parameters will be defined by default values
+ return # filepath* - [over]write
shorcut file filepath; shortcut parameters will be defined by default values
} else if (_isnotfileptr(S) && _wr_shortcut(D, _[S])) {
- return # filepath,ptr* - [over]write shorcut
file filepath; shortcut parameters will be defined by shortcut-specific
elements in array _[ptr](save shortcut)
+ return # filepath,ptr* - [over]write shorcut
file filepath; shortcut parameters will be defined by shortcut-specific
elements in array _[ptr](save shortcut)
} else if (_rd_shortcut(_SHRTCUTA1, S) || _wr_shortcut(D,
_SHRTCUTA1)) {
- return
+ return
} # ptr,filepath* - define in array
_[ptr] shortcut-specific elements by reading its from shortcut file
filepath(load shortcut)
} # filepath,filepath2* - [over]write shorcut file filepath;
shortcut parameters will be defined from shortcut file filepath2(copy shortcut)
return 1
@@ -5286,7 +5286,7 @@ function _splitpath_test()
_conl()
_conl("########################################################################################")
_conl()
- return
+ return
}
#_______________________________________________________________________
@@ -5466,19 +5466,19 @@ function _tOBJ(c, t, P)
return t
#___________________________________________________________
case "_lib_APPLY":
- return
+ return
#___________________________________________________________
case "_lib_HELP":
- return
+ return
#___________________________________________________________
case "_lib_NAMEVER":
return _ln("_tOBJ 3.0")
#___________________________________________________________
case "_lib_BEGIN":
- return
+ return
#___________________________________________________________
case "_lib_END":
- return
+ return
#___________________________________________________________
case "_lib_CLEANUP":
return _tOBJ_CLEANUP()
@@ -5906,7 +5906,7 @@ function _tframe0_i0(A, p, f)
function _tframe0_i1(A, p)
{
if (_TEND[_ARRLEN] in _TEND) {
- return
+ return
}
if (p in _tNEXT) {
return (_tframe0_i0(A, p) _tframe0_i1(A, _tNEXT[p]))
@@ -5924,7 +5924,7 @@ function _tframe0_i2(A, m, p)
if (m in A) {
if ((m "~") in A) {
if (! (_TYPEWORD in _[p]) || A[m "~"] !~
_[p][_TYPEWORD]) {
- return
+ return
}
}
m = A[m]
@@ -5962,7 +5962,7 @@ function _tframe1_i0(A, p, p0)
function _tframe1_i1(A, p, p0)
{
if (_TEND[_ARRLEN] in _TEND) {
- return
+ return
}
if (p in _tNEXT) {
return (_tframe1_i0(A, p, p0) _tframe1_i1(A, _tNEXT[p], p0))
@@ -5980,7 +5980,7 @@ function _tframe1_i2(A, m, p, p0)
if (m in A) {
if ((m "~") in A) {
if (! (_TYPEWORD in _[p]) || A[m "~"] !~
_[p][_TYPEWORD]) {
- return
+ return
}
}
m = A[m]
@@ -6018,7 +6018,7 @@ function _tframe2_i0(A, p, p0, p1)
function _tframe2_i1(A, p, p0, p1)
{
if (_TEND[_ARRLEN] in _TEND) {
- return
+ return
}
if (p in _tNEXT) {
return (_tframe2_i0(A, p, p0, p1) _tframe2_i1(A, _tNEXT[p], p0,
p1))
@@ -6036,7 +6036,7 @@ function _tframe2_i2(A, m, p, p0, p1)
if (m in A) {
if ((m "~") in A) {
if (! (_TYPEWORD in _[p]) || A[m "~"] !~
_[p][_TYPEWORD]) {
- return
+ return
}
}
m = A[m]
@@ -6074,7 +6074,7 @@ function _tframe3_i0(A, p, p0, p1, p2)
function _tframe3_i1(A, p, p0, p1, p2)
{
if (_TEND[_ARRLEN] in _TEND) {
- return
+ return
}
if (p in _tNEXT) {
return (_tframe3_i0(A, p, p0, p1, p2) _tframe3_i1(A, _tNEXT[p],
p0, p1, p2))
@@ -6092,7 +6092,7 @@ function _tframe3_i2(A, m, p, p0, p1, p2)
if (m in A) {
if ((m "~") in A) {
if (! (_TYPEWORD in _[p]) || A[m "~"] !~
_[p][_TYPEWORD]) {
- return
+ return
}
}
m = A[m]
@@ -6130,7 +6130,7 @@ function _tframe4_i0(A, p, p0, p1, p2, p3)
function _tframe4_i1(A, p, p0, p1, p2, p3)
{
if (_TEND[_ARRLEN] in _TEND) {
- return
+ return
}
if (p in _tNEXT) {
return (_tframe4_i0(A, p, p0, p1, p2, p3) _tframe4_i1(A,
_tNEXT[p], p0, p1, p2, p3))
@@ -6148,7 +6148,7 @@ function _tframe4_i2(A, m, p, p0, p1, p2, p3)
if (m in A) {
if ((m "~") in A) {
if (! (_TYPEWORD in _[p]) || A[m "~"] !~
_[p][_TYPEWORD]) {
- return
+ return
}
}
m = A[m]
@@ -6203,7 +6203,7 @@ function _tframex_p0(A, f, q, i, B, C)
f = substr(f, 1, RSTART - 1)
}
A["."] = A["^"] = f
- return
+ return
q = split(f, B, /;/)
i = 0
while (i < q) {
@@ -6469,7 +6469,7 @@ function _tlist_i0(L, p, q, i)
while (i++ < q) {
_tlist_i0(L, p[i])
}
- return
+ return
}
if (p in _) {
while (p in _tLINK) {
@@ -6492,7 +6492,7 @@ function _tlist_i1(L, p)
while (i++ < q) {
_tlist_i1(L, p[i])
}
- return
+ return
}
if (p in _) {
while (p in _tLINK) {
@@ -6691,7 +6691,7 @@ function _tpop(p, aA, a)
if (isarray(_tSTACK[p][a])) {
delete aA
_movarr(aA, _tSTACK[p][a])
- return
+ return
}
return _tSTACK[p][a]
}
@@ -6707,7 +6707,7 @@ function _tpush(p, aA, a)
_tSTACK[p][a][""]
delete _tSTACK[p][a][""]
_movarr(_tSTACK[p][a], aA)
- return
+ return
}
delete _tSTACK[p][a = ++_tSTACK[p][0]]
return (_tSTACK[p][a] = aA)
@@ -7812,7 +7812,7 @@ function _wr_shortcut(f, S)
}
}
if (_shortcut_nerr(_cmd(_shrtcuta0), _shrtcutf0)) {
- return
+ return
}
}
return (ERRNO ? ERRNO = "write shortcut: " ERRNO : _NOP)
@@ -7824,7 +7824,7 @@ function _wrfile(f, d, a, b)
#########################################
if (((f = _wfilerdnehnd(f)) == "") || (_filene(f) == "")) {
ERRNO = "Filename error"
- return
+ return
}
a = BINMODE
BINMODE = "rw"
@@ -7850,7 +7850,7 @@ function _wrfile1(f, d, a, b)
##################################
if (((f = _wfilerdnehnd(f)) == "") || (_filene(f) == "")) {
ERRNO = "Filename error"
- return
+ return
}
a = BINMODE
BINMODE = "rw"
@@ -8166,7 +8166,7 @@ function zorr(A, i, r)
}
r = A[i] == "" && A[i] == 0
_conl("A[" i "] status is " r)
- return
+ return
a = a + -a
_conl("``````````````" a "''''''''''''''''")
}
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=44611db36ba329fab248179e0350d44fcff5e3c2
commit 44611db36ba329fab248179e0350d44fcff5e3c2
Author: Arnold D. Robbins <address@hidden>
Date: Mon Feb 25 09:15:02 2019 +0200
Improvements for z/OS, building and test suite.
diff --git a/ChangeLog b/ChangeLog
index b098d75..7bb1efc 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2019-02-25 Arnold D. Robbins <address@hidden>
+
+ * configure.ac: Set ZOS_FAIL if on ZOS to improve test suite on that
+ platform.
+ * awk.h (is_valid_identifier): Move declaration outside ifdef DYNAMIC.
+ * command.y: Fix test for EBCDIC to use USE_EBCDIC.
+ * custom.h: Remove definitions of __builtin_expect.
+ * eval.c (update_ERRNO_string): Add untested and disabled code for z/OS
+ to remove leading IBM error codes. This might one day make more of the
+ tests pass on z/OS.
+
+2019-02-20 Arnold D. Robbins <address@hidden>
+
+ * awk.h (is_valid_identifier): Move declaration outside of
+ `#if DYNAMIC'. Thanks to Daniel Richard G.
+ * custom.h (builtin_expect): Remove definitions, now
+ handled by support/cdefs.h.
+
2019-02-17 Arnold D. Robbins <address@hidden>
Fix debugger eval command so that return from a called
diff --git a/Makefile.in b/Makefile.in
index 0c662f9..d900c67 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -401,6 +401,7 @@ XGETTEXT_015 = @XGETTEXT_015@
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
YACC = @YACC@
YFLAGS = @YFLAGS@
+ZOS_FAIL = @ZOS_FAIL@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
diff --git a/awk.h b/awk.h
index e90f83d..2d87d5a 100644
--- a/awk.h
+++ b/awk.h
@@ -1514,11 +1514,11 @@ extern NODE **r_get_field(NODE *n, Func_ptr *assign,
bool reference);
extern NODE *do_ext(int nargs);
void load_ext(const char *lib_name); /* temporary */
extern void close_extensions(void);
+extern bool is_valid_identifier(const char *name);
#ifdef DYNAMIC
extern awk_bool_t make_builtin(const char *name_space, const awk_ext_func_t *);
extern NODE *get_argument(int);
extern NODE *get_actual_argument(NODE *, int, bool);
-extern bool is_valid_identifier(const char *name);
#define get_scalar_argument(n, i) get_actual_argument((n), (i), false)
#define get_array_argument(n, i) get_actual_argument((n), (i), true)
#endif
diff --git a/awklib/Makefile.in b/awklib/Makefile.in
index 054597d..c198acc 100644
--- a/awklib/Makefile.in
+++ b/awklib/Makefile.in
@@ -273,6 +273,7 @@ XGETTEXT_015 = @XGETTEXT_015@
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
YACC = @YACC@
YFLAGS = @YFLAGS@
+ZOS_FAIL = @ZOS_FAIL@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
diff --git a/command.c b/command.c
index 6c81d3a..16c9967 100644
--- a/command.c
+++ b/command.c
@@ -3180,7 +3180,7 @@ find_command(const char *token, size_t toklen)
int abrv_match = -1;
int partial_match = -1;
-#if 'a' == 0x81 /* it's EBCDIC */
+#ifdef USE_EBCDIC
/* make sure all lower case characters in token (sorting
* isn't the solution in this case)
*/
diff --git a/command.y b/command.y
index 58880de..1af3ad1 100644
--- a/command.y
+++ b/command.y
@@ -1423,7 +1423,7 @@ find_command(const char *token, size_t toklen)
int abrv_match = -1;
int partial_match = -1;
-#if 'a' == 0x81 /* it's EBCDIC */
+#ifdef USE_EBCDIC
/* make sure all lower case characters in token (sorting
* isn't the solution in this case)
*/
diff --git a/configure b/configure
index 11df906..dcbf559 100755
--- a/configure
+++ b/configure
@@ -660,6 +660,7 @@ MSGFMT
GETTEXT_MACRO_VERSION
USE_NLS
SED
+ZOS_FAIL
acl_shlibext
RANLIB
LN_S
@@ -5800,6 +5801,11 @@ rm -f conftest*
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_ebcdic" >&5
$as_echo "$use_ebcdic" >&6; }
+if test "$use_ebcdic" = yes ]
+then
+ ZOS_FAIL='; echo Expect $@ to fail on z/OS.'
+fi
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
diff --git a/configure.ac b/configure.ac
index 68bbb57..ac1bc47 100644
--- a/configure.ac
+++ b/configure.ac
@@ -144,6 +144,11 @@ gnu_gawk_in_ebcdic
use_ebcdic=yes],
[use_ebcdic=no])
AC_MSG_RESULT([$use_ebcdic])
+if test "$use_ebcdic" = yes ]
+then
+ ZOS_FAIL='; echo Expect $@ to fail on z/OS.'
+fi
+AC_SUBST(ZOS_FAIL)
dnl Set the programming language for checks. Fortunately,
dnl this only needs to be set once, since everything is in C.
diff --git a/custom.h b/custom.h
index 0b6b8b5..7dfc140 100644
--- a/custom.h
+++ b/custom.h
@@ -47,19 +47,11 @@
#ifndef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif
-#define __builtin_expect(expr, val) (expr)
#ifndef SIZE_MAX
#define SIZE_MAX __INT32_MAX
#endif
#endif
-/* This keeps regex happy on non-GCC compilers */
-#ifndef __GNUC__
-#ifndef __builtin_expect
-#define __builtin_expect(expr, val) (expr)
-#endif
-#endif
-
/* For QNX, based on submission from Michael Hunter, address@hidden */
#ifdef __QNX__
#define GETPGRP_VOID 1
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 2c4c6d2..7fd6603 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -301,6 +301,7 @@ XGETTEXT_015 = @XGETTEXT_015@
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
YACC = @YACC@
YFLAGS = @YFLAGS@
+ZOS_FAIL = @ZOS_FAIL@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
diff --git a/eval.c b/eval.c
index 4858fa6..4650150 100644
--- a/eval.c
+++ b/eval.c
@@ -1023,7 +1023,23 @@ update_ERRNO_string(const char *string)
{
update_PROCINFO_num("errno", 0);
unref(ERRNO_node->var_value);
- ERRNO_node->var_value = make_string(string, strlen(string));
+ size_t len = strlen(string);
+#if defined(USE_EBCDIC) && defined(ELIDE_IBM_ERROR_CODE)
+ // skip over leading IBM error code
+ // N.B. This code is untested
+ if (isupper(string[0]) && isupper(string[1])) {
+ while (*string && *string != ' ')
+ string++;
+
+ while (*string && *string == ' ')
+ string++;
+
+ len = strlen(string);
+ if (string[len-1] == '.')
+ len--; // remove the final '.'
+ }
+#endif
+ ERRNO_node->var_value = make_string(string, len);
}
/* unset_ERRNO --- eliminate the value of ERRNO */
diff --git a/extras/Makefile.in b/extras/Makefile.in
index c8a9060..705cca5 100644
--- a/extras/Makefile.in
+++ b/extras/Makefile.in
@@ -258,6 +258,7 @@ XGETTEXT_015 = @XGETTEXT_015@
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
YACC = @YACC@
YFLAGS = @YFLAGS@
+ZOS_FAIL = @ZOS_FAIL@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
diff --git a/support/Makefile.in b/support/Makefile.in
index 195909d..ac69779 100644
--- a/support/Makefile.in
+++ b/support/Makefile.in
@@ -279,6 +279,7 @@ XGETTEXT_015 = @XGETTEXT_015@
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
YACC = @YACC@
YFLAGS = @YFLAGS@
+ZOS_FAIL = @ZOS_FAIL@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
diff --git a/test/ChangeLog b/test/ChangeLog
index b34c989..a30560f 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,9 @@
+2019-02-25 Arnold D. Robbins <address@hidden>
+
+ * Makefile.am (EXPECTED_FAIL_ZOS): New group of tests expected to
+ fail on ZOS.
+ (ZOS_FAIL): New macro set by autoconf.
+
2019-02-22 Eli Zaretskii <address@hidden>
* Makefile.in (EXPECTED_FAIL_MINGW):
diff --git a/test/Gentests b/test/Gentests
index d7feaef..cf4ba90 100755
--- a/test/Gentests
+++ b/test/Gentests
@@ -122,6 +122,16 @@ BEGIN {
}
}
+# Tests that fail on z/OS
+/EXPECTED_FAIL_ZOS *=/,/[^\\]$/ {
+ gsub(/(^EXPECTED_FAIL_ZOS *=|\\$)/,"")
+ for (i = 1; i <= NF; i++)
+ {
+ zos_fail[$i]
+ }
+ next
+}
+
/^[[:alpha:]_][[:alnum:]_]*:/ {
# remember all targets from Makefile.am
sub(/:.*/,"")
@@ -215,7 +225,11 @@ function generate(x, s, i, locale_string)
delete files[x".in"]
}
- printf "address@hidden address@hidden"
+ if (x in zos_fail) {
+ printf "address@hidden $@ $(ZOS_FAIL)\n"
+ delete zos_fail[x]
+ } else
+ printf "address@hidden address@hidden"
# default is the leading tab and @
locale_string = "\t@"
diff --git a/test/Makefile.am b/test/Makefile.am
index f9994dd..96cbdd6 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1454,6 +1454,19 @@ EXPECTED_FAIL_MINGW = \
inetecht mbfw1 mbprintf1 mbprintf4 mbstr1 mbstr2 pid pipeio2 \
pty1 pty2 readdir rstest4 rstest5 status-close timeout
+# List of tests that fail on z/OS
+EXPECTED_FAIL_ZOS = \
+ aasort aasorti arraysort asort asorti backbigs1 backsmalls1 \
+ backsmalls2 charasbytes concat4 dfamb1 double1 double2 fmttest \
+ forcenum gsubtst5 ignrcas2 lc_num1 localenl mbfw1 mbprintf1 \
+ mbprintf2 mbprintf3 mbprintf4 mbprintf5 mbstr1 mbstr2 numrange \
+ printhuge profile5 regrange reint2 rri1 sigpipe1 sortfor sortu \
+ subamp subi18n symtab1 symtab8 timeout wideidx wideidx2 \
+ widesub widesub2 widesub3 widesub4 \
+ beginfile1 beginfile2 clos1way6 errno getlndir nofile nonfatal2 space
+
+ZOS_FAIL = @ZOS_FAIL@
+
# List of the files that appear in manual tests or are for reserve testing:
GENTESTS_UNUSED = Makefile.in checknegtime.awk dtdgport.awk fix-fmtspcl.awk \
fmtspcl-mpfr.ok fmtspcl.awk fmtspcl.tok gtlnbufv.awk hello.awk \
@@ -1705,7 +1718,7 @@ devfd::
# This cannot be autogenerated; we want it to read the input name
# on the command line.
errno:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1812,7 +1825,7 @@ redfilnm::
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
space::
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@$(AWK) -f ' ' "$(srcdir)"/space.awk >_$@ 2>&1 || echo EXIT CODE: $$?
>>_$@ || echo EXIT CODE: $$? >> _$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1858,7 +1871,7 @@ rtlenmb::
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
nofile::
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@$(AWK) '{}' no/such/file >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1884,7 +1897,7 @@ mixed1::
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
mbprintf5::
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@case `uname` in \
CYGWIN* | MINGW32* | *MS-DOS*) echo this test fails on this system ---
skipping $@ ;; \
*) \
@@ -1899,12 +1912,12 @@ printfbad2: printfbad2.ok
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
beginfile1::
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden
"$(srcdir)"/address@hidden . ./no/such/file Makefile >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
beginfile2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@-( cd "$(srcdir)" && LC_ALL=C AWK="$(abs_builddir)/$(AWKPROG)"
$(abs_srcdir)/address@hidden $(abs_srcdir)/address@hidden ) > _$@ 2>&1 || echo
EXIT CODE: $$? >> _$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -2132,7 +2145,7 @@ fts:
# BINMODE=2 is needed for PC tests.
charasbytes:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -b -v BINMODE=2 -f address@hidden
"$(srcdir)"/address@hidden | \
od -c -t x1 | tr ' ' ' ' | sed -e 's/ */ /g' -e 's/ *$$//' >_$@
2>&1 || echo EXIT CODE: $$? >>_$@
@@ -2144,7 +2157,7 @@ symtab6:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
symtab8:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@$(AWK) -d__$@ -f "$(srcdir)"/address@hidden "$(srcdir)"/address@hidden
>_$@
@grep -v '^ENVIRON' __$@ | grep -v '^PROCINFO' | grep -v '^FILENAME' >>
_$@ ; rm __$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
diff --git a/test/Makefile.in b/test/Makefile.in
index 9404a86..d068b72 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -228,6 +228,7 @@ XGETTEXT_015 = @XGETTEXT_015@
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
YACC = @YACC@
YFLAGS = @YFLAGS@
+ZOS_FAIL = @ZOS_FAIL@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
@@ -1715,6 +1716,18 @@ EXPECTED_FAIL_MINGW = \
pty1 pty2 readdir rstest4 rstest5 status-close timeout
+# List of tests that fail on z/OS
+EXPECTED_FAIL_ZOS = \
+ aasort aasorti arraysort asort asorti backbigs1 backsmalls1 \
+ backsmalls2 charasbytes concat4 dfamb1 double1 double2 fmttest \
+ forcenum gsubtst5 ignrcas2 lc_num1 localenl mbfw1 mbprintf1 \
+ mbprintf2 mbprintf3 mbprintf4 mbprintf5 mbstr1 mbstr2 numrange \
+ printhuge profile5 regrange reint2 rri1 sigpipe1 sortfor sortu \
+ subamp subi18n symtab1 symtab8 timeout wideidx wideidx2 \
+ widesub widesub2 widesub3 widesub4 \
+ beginfile1 beginfile2 clos1way6 errno getlndir nofile nonfatal2 space
+
+
# List of the files that appear in manual tests or are for reserve testing:
GENTESTS_UNUSED = Makefile.in checknegtime.awk dtdgport.awk fix-fmtspcl.awk \
fmtspcl-mpfr.ok fmtspcl.awk fmtspcl.tok gtlnbufv.awk hello.awk \
@@ -2154,7 +2167,7 @@ devfd::
# This cannot be autogenerated; we want it to read the input name
# on the command line.
errno:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -2261,7 +2274,7 @@ redfilnm::
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
space::
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@$(AWK) -f ' ' "$(srcdir)"/space.awk >_$@ 2>&1 || echo EXIT CODE: $$?
>>_$@ || echo EXIT CODE: $$? >> _$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -2307,7 +2320,7 @@ rtlenmb::
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
nofile::
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@$(AWK) '{}' no/such/file >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -2333,7 +2346,7 @@ mixed1::
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
mbprintf5::
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@case `uname` in \
CYGWIN* | MINGW32* | *MS-DOS*) echo this test fails on this system ---
skipping $@ ;; \
*) \
@@ -2348,12 +2361,12 @@ printfbad2: printfbad2.ok
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
beginfile1::
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden
"$(srcdir)"/address@hidden . ./no/such/file Makefile >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
beginfile2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@-( cd "$(srcdir)" && LC_ALL=C AWK="$(abs_builddir)/$(AWKPROG)"
$(abs_srcdir)/address@hidden $(abs_srcdir)/address@hidden ) > _$@ 2>&1 || echo
EXIT CODE: $$? >> _$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -2581,7 +2594,7 @@ fts:
# BINMODE=2 is needed for PC tests.
charasbytes:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -b -v BINMODE=2 -f address@hidden
"$(srcdir)"/address@hidden | \
od -c -t x1 | tr ' ' ' ' | sed -e 's/ */ /g' -e 's/ *$$//' >_$@
2>&1 || echo EXIT CODE: $$? >>_$@
@@ -2593,7 +2606,7 @@ symtab6:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
symtab8:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@$(AWK) -d__$@ -f "$(srcdir)"/address@hidden "$(srcdir)"/address@hidden
>_$@
@grep -v '^ENVIRON' __$@ | grep -v '^PROCINFO' | grep -v '^FILENAME' >>
_$@ ; rm __$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -2927,7 +2940,7 @@ concat3:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
concat4:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -2973,7 +2986,7 @@ delfunc:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
dfamb1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -3169,7 +3182,7 @@ gsubtst4:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
gsubtst5:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -3385,7 +3398,7 @@ numindex:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
numrange:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -3612,7 +3625,7 @@ regexprange:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
regrange:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -3632,7 +3645,7 @@ resplit:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
rri1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -3708,7 +3721,7 @@ setrec1:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
sigpipe1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -3773,7 +3786,7 @@ strtod:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
subamp:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -3784,7 +3797,7 @@ subback:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
subi18n:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -3875,37 +3888,37 @@ uplus:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
wideidx:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
wideidx2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
widesub:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
widesub2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
widesub3:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
widesub4:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -3971,17 +3984,17 @@ aarray1:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
aasort:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
aasorti:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
arraysort:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -4027,7 +4040,7 @@ clos1way5:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
clos1way6:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -4077,7 +4090,7 @@ fieldwdth:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
forcenum:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden --non-decimal-data >_$@
2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -4197,7 +4210,7 @@ gensub3:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
getlndir:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -4247,7 +4260,7 @@ igncfs:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
ignrcas2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -4348,13 +4361,13 @@ match3:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
mbstr1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
mbstr2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -4390,7 +4403,7 @@ nondec2:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
nonfatal2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -4460,7 +4473,7 @@ printfbad4:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
printhuge:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -4476,7 +4489,7 @@ profile4:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
profile5:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden --pretty-print=_$@ >_$@
2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -4521,7 +4534,7 @@ reint:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
reint2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden --re-interval <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -4557,7 +4570,7 @@ shadowbuiltin:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
sortfor:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -4567,7 +4580,7 @@ sortfor2:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
sortu:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -4602,7 +4615,7 @@ switch2:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
symtab1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -4637,7 +4650,7 @@ symtab10:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
timeout:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -4682,12 +4695,12 @@ typeof5:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
double1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
double2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -4697,35 +4710,35 @@ intformat:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
asort:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
asorti:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
backbigs1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
backsmalls1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
backsmalls2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
fmttest:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -4744,37 +4757,37 @@ fnparydl:
fi
lc_num1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
mbfw1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
mbprintf1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
mbprintf2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
mbprintf3:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
mbprintf4:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
diff --git a/test/Maketests b/test/Maketests
index bdc9633..48b2433 100644
--- a/test/Maketests
+++ b/test/Maketests
@@ -206,7 +206,7 @@ concat3:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
concat4:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -252,7 +252,7 @@ delfunc:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
dfamb1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -448,7 +448,7 @@ gsubtst4:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
gsubtst5:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -664,7 +664,7 @@ numindex:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
numrange:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -891,7 +891,7 @@ regexprange:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
regrange:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -911,7 +911,7 @@ resplit:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
rri1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -987,7 +987,7 @@ setrec1:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
sigpipe1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1052,7 +1052,7 @@ strtod:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
subamp:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1063,7 +1063,7 @@ subback:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
subi18n:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1154,37 +1154,37 @@ uplus:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
wideidx:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
wideidx2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
widesub:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
widesub2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
widesub3:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
widesub4:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1250,17 +1250,17 @@ aarray1:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
aasort:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
aasorti:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
arraysort:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1306,7 +1306,7 @@ clos1way5:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
clos1way6:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1356,7 +1356,7 @@ fieldwdth:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
forcenum:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden --non-decimal-data >_$@
2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1476,7 +1476,7 @@ gensub3:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
getlndir:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1526,7 +1526,7 @@ igncfs:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
ignrcas2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1627,13 +1627,13 @@ match3:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
mbstr1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
mbstr2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1669,7 +1669,7 @@ nondec2:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
nonfatal2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1739,7 +1739,7 @@ printfbad4:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
printhuge:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1755,7 +1755,7 @@ profile4:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
profile5:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden --pretty-print=_$@ >_$@
2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1800,7 +1800,7 @@ reint:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
reint2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden --re-interval <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1836,7 +1836,7 @@ shadowbuiltin:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
sortfor:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1846,7 +1846,7 @@ sortfor2:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
sortu:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1881,7 +1881,7 @@ switch2:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
symtab1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1916,7 +1916,7 @@ symtab10:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
timeout:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1961,12 +1961,12 @@ typeof5:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
double1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
double2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -1976,35 +1976,35 @@ intformat:
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
asort:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
asorti:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
backbigs1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
backsmalls1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
backsmalls2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
fmttest:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
@@ -2023,37 +2023,37 @@ fnparydl:
fi
lc_num1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
mbfw1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
mbprintf1:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
mbprintf2:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
mbprintf3:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
mbprintf4:
- @echo $@
+ @echo $@ $(ZOS_FAIL)
@[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=en_US.UTF-8; export GAWKLOCALE; \
AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=ef25d1166e7a183dd4d07f73904775234359de81
commit ef25d1166e7a183dd4d07f73904775234359de81
Author: Arnold D. Robbins <address@hidden>
Date: Mon Feb 25 08:59:13 2019 +0200
Small doc updates.
diff --git a/doc/ChangeLog b/doc/ChangeLog
index d3da4d2..fedad0a 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,9 @@
+2019-02-20 Arnold D. Robbins <address@hidden>
+
+ * gawktexi.in: Fix order of values for PROCINFO["platform"],
+ save an email in @ignore for possible eventual inclusion.
+ * gawk.1: Correct values for PROCINFO["platform"].
+
2019-02-17 Arnold D. Robbins <address@hidden>
* gawktexi.in (Viewing And Changing Data): Revise note for eval
diff --git a/doc/gawk.1 b/doc/gawk.1
index 5dfd0fd..f24e62a 100644
--- a/doc/gawk.1
+++ b/doc/gawk.1
@@ -13,7 +13,7 @@
. if \w'\(rq' .ds rq "\(rq
. \}
.\}
-.TH GAWK 1 "Feb 03 2019" "Free Software Foundation" "Utility Commands"
+.TH GAWK 1 "Feb 19 2019" "Free Software Foundation" "Utility Commands"
.SH NAME
gawk \- pattern scanning and processing language
.SH SYNOPSIS
@@ -1232,17 +1232,14 @@ A string indicating the platform for which
was compiled. It is one of:
.RS
.TP
-\fB"cygwin"\fR, \fB"djgpp"\fR, \fB"mingw"\fR
-Microsoft Windows, using either Cygwin, DJGPP, or MinGW, respectively.
-.TP
-\fB"macosx"\fR
-Mac OS X.
+\fB"djgpp"\fR, \fB"mingw"\fR
+Microsoft Windows, using either DJGPP, or MinGW, respectively.
.TP
\fB"os2"\fR
OS/2.
.TP
\fB"posix"\fR
-GNU/Linux and legacy Unix systems.
+GNU/Linux, Cygwin, Mac OS X, and legacy Unix systems.
.TP
\fB"vms"\fR
OpenVMS or Vax/VMS.
diff --git a/doc/gawk.info b/doc/gawk.info
index d624d96..1c24d47 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -11080,9 +11080,6 @@ they are not special:
This element gives a string indicating the platform for which
'gawk' was compiled. The value will be one of the following:
- '"vms"'
- OpenVMS or Vax/VMS.
-
'"djgpp"'
'"mingw"'
Microsoft Windows, using either DJGPP or MinGW,
@@ -11097,6 +11094,9 @@ they are not special:
'"posix"'
GNU/Linux, Cygwin, Mac OS X, and legacy Unix systems.
+ '"vms"'
+ OpenVMS or Vax/VMS.
+
'PROCINFO["pgrpid"]'
The process group ID of the current process.
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 2464643..79679a6 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -5868,6 +5868,28 @@ With the POSIX character classes, you can write
@code{/[[:alnum:]]/} to match the alphabetic
and numeric characters in your character set.
address@hidden
+From address@hidden Fri Feb 15 03:38:41 2019
+Date: Fri, 15 Feb 2019 12:38:23 +0200
+From: Eli Zaretskii <address@hidden>
+To: address@hidden
+CC: address@hidden, address@hidden
+Subject: Re: [bug-gawk] Does gawk character classes follow this?
+
+> From: address@hidden
+> Date: Fri, 15 Feb 2019 03:01:34 -0700
+> Cc: address@hidden, address@hidden
+>
+> I get the feeling that there's something really bothering you, but
+> I don't understand what.
+>
+> Can you clarify, please?
+
+I thought I already did: we cannot be expected to provide a definitive
+description of what the named classes stand for, because the answer
+depends on various factors out of our control.
address@hidden ignore
+
@c Thanks to
@c Date: Tue, 01 Jul 2014 07:39:51 +0200
@c From: Hermann Peifer <address@hidden>
@@ -15811,9 +15833,6 @@ This element gives a string indicating the platform for
which
@c nested table
@table @code
address@hidden "vms"
-OpenVMS or Vax/VMS.
-
@item "djgpp"
@itemx "mingw"
Microsoft Windows, using either DJGPP or MinGW, respectively.
@@ -15826,6 +15845,9 @@ OS/390.
@item "posix"
GNU/Linux, Cygwin, Mac OS X, and legacy Unix systems.
+
address@hidden "vms"
+OpenVMS or Vax/VMS.
@end table
@item PROCINFO["pgrpid"]
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 559244f..1962fe5 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -5695,6 +5695,28 @@ With the POSIX character classes, you can write
@code{/[[:alnum:]]/} to match the alphabetic
and numeric characters in your character set.
address@hidden
+From address@hidden Fri Feb 15 03:38:41 2019
+Date: Fri, 15 Feb 2019 12:38:23 +0200
+From: Eli Zaretskii <address@hidden>
+To: address@hidden
+CC: address@hidden, address@hidden
+Subject: Re: [bug-gawk] Does gawk character classes follow this?
+
+> From: address@hidden
+> Date: Fri, 15 Feb 2019 03:01:34 -0700
+> Cc: address@hidden, address@hidden
+>
+> I get the feeling that there's something really bothering you, but
+> I don't understand what.
+>
+> Can you clarify, please?
+
+I thought I already did: we cannot be expected to provide a definitive
+description of what the named classes stand for, because the answer
+depends on various factors out of our control.
address@hidden ignore
+
@c Thanks to
@c Date: Tue, 01 Jul 2014 07:39:51 +0200
@c From: Hermann Peifer <address@hidden>
@@ -15128,9 +15150,6 @@ This element gives a string indicating the platform for
which
@c nested table
@table @code
address@hidden "vms"
-OpenVMS or Vax/VMS.
-
@item "djgpp"
@itemx "mingw"
Microsoft Windows, using either DJGPP or MinGW, respectively.
@@ -15143,6 +15162,9 @@ OS/390.
@item "posix"
GNU/Linux, Cygwin, Mac OS X, and legacy Unix systems.
+
address@hidden "vms"
+OpenVMS or Vax/VMS.
@end table
@item PROCINFO["pgrpid"]
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 30 ++++++++
Makefile.in | 1 +
awk.h | 2 +-
awklib/Makefile.in | 1 +
command.c | 2 +-
command.y | 2 +-
configure | 6 ++
configure.ac | 5 ++
custom.h | 8 --
doc/ChangeLog | 6 ++
doc/Makefile.in | 1 +
doc/gawk.1 | 11 +--
doc/gawk.info | 6 +-
doc/gawk.texi | 28 ++++++-
doc/gawktexi.in | 28 ++++++-
eval.c | 18 ++++-
extras/Makefile.in | 1 +
main.c | 11 ++-
profile.c | 6 +-
support/Makefile.in | 1 +
test/ChangeLog | 10 +++
test/Gentests | 16 +++-
test/Makefile.am | 29 +++++--
test/Makefile.in | 121 ++++++++++++++++-------------
test/Maketests | 92 +++++++++++-----------
test/nsprof2.ok | 2 +-
test/profile5.ok | 214 ++++++++++++++++++++++++++--------------------------
27 files changed, 409 insertions(+), 249 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-3667-gc0e9f73,
Arnold Robbins <=