ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-01 Thread Paul Gilmartin
On Tue, 1 Mar 2022 13:28:01 +, wrote: > >ZAD is not supported on z/OS under z/VM. ":-( >Is there any SOD or RFE or the like for this? > > Many releases ago, I saw a report the C RTL treatment of following a NULL pointer was changing. I tested open( NULL, ... ) with releases before and aft

Re: ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-01 Thread Charles Mills
." Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Tuesday, March 1, 2022 8:30 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: ZAD and C/C++ (was:: 2.5 Heads Up) On Tue, 1 Mar 2022 13:28:01 +,

Re: ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-01 Thread Paul Gilmartin
On Tue, 1 Mar 2022 08:46:35 -0800, Charles Mills wrote: >..., but IBM *may* simply be following it. fopen(NULL, ...) is pretty > useless any way you slice it. > On Mac OS: printf ("%d\n", open( "", 0 ) ); -1 No such file or directory

Re: ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-01 Thread Seymour J Metz
] Sent: Tuesday, March 1, 2022 11:46 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ZAD and C/C++ (was:: 2.5 Heads Up) C is a standardized language. IBM's main target market is programs ported from other platforms. I have no idea what the standard is, but IBM *may* simply be following it. fopen

Re: ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-01 Thread Charles Mills
mat, som...@domain.com. No blanks or anything like that. Never did figure out what they wanted; got around the problem another way. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Tuesday, March 1, 2022

Re: ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-01 Thread Charles Mills
behalf of Charles Mills [charl...@mcn.org] Sent: Tuesday, March 1, 2022 11:46 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ZAD and C/C++ (was:: 2.5 Heads Up) C is a standardized language. IBM's main target market is programs ported from other platforms. I have no idea what the standard is, but IBM

Re: ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-01 Thread Paul Gilmartin
On Tue, 1 Mar 2022 18:09:14 +, Seymour J Metz wrote: >Is nullptr an address of 0, or is it an address guarantied to not be valid? > Ah, pedantry! It depends on whether "invalid" is equivalent to "unequal to a pointer to any object ..." (or whether one implies the other.). The statement below

Re: ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-01 Thread Seymour J Metz
___ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Tuesday, March 1, 2022 1:29 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ZAD and C/C++ (was:: 2.5 Heads Up) Ah! (void *). I know what that means, b

Re: ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-01 Thread Charles Mills
n Behalf Of Seymour J Metz Sent: Tuesday, March 1, 2022 10:09 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ZAD and C/C++ (was:: 2.5 Heads Up) Is nullptr an address of 0, or is it an address guarantied to not be valid? "An integer constant expression with the value 0, or such an expression

Re: ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-01 Thread Seymour J Metz
Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin [000433f07816-dmarc-requ...@listserv.ua.edu] Sent: Tuesday, March 1, 2022 1:42 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ZAD and C/C++ (was:: 2.5 Heads Up) On Tue, 1 Mar 2022 18:09:14 +, Seymour J Metz wrote: >

Re: ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-01 Thread Seymour J Metz
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Tuesday, March 1, 2022 1:47 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ZAD and C/C++ (was:: 2.5 Heads Up) I see what you are asking. You are probably quoting the standard correctly. I

Re: ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-01 Thread Charles Mills
AIN@LISTSERV.UA.EDU Subject: Re: ZAD and C/C++ (was:: 2.5 Heads Up) Metz's Law of Anal Retentive Developers: "Never validate an input field unless you *KNOW* what the rules are: assumption, belief, habit, urban legends, etc., don't count!" The world is full of people that "vali

Re: ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-01 Thread Seymour J Metz
...@mcn.org] Sent: Tuesday, March 1, 2022 1:53 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ZAD and C/C++ (was:: 2.5 Heads Up) > any ethnicity but their own In my much younger days -- the first significant system I ever worked on -- I wrote a name-indexing scheme that assumed all surnames were

Re: ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-01 Thread Paul Gilmartin
On Tue, 1 Mar 2022 10:53:44 -0800, Charles Mills wrote: >> any ethnicity but their own >. ... >I wrote a name-indexing scheme that assumed all surnames were at least three >characters long. This was of course back in the day when we worried >obsessively about bytes and CPU cycles. > I worked at

Re: ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-01 Thread Mike Schwab
> > Charles > > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Seymour J Metz > Sent: Tuesday, March 1, 2022 10:46 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: ZAD and C/C++ (was:: 2.5 Heads Up) > &

Re: ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-01 Thread David Crayford
n List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > On > Behalf Of Seymour J Metz > Sent: Tuesday, March 1, 2022 10:09 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: ZAD and C/C++ (was:: 2.5 Heads Up) > > Is nullptr an address of 0, or is it an address guarantied to not be > vali

Re: ZAD and C/C++ (was:: 2.5 Heads Up)

2022-03-02 Thread Seymour J Metz
behalf of Mike Schwab [mike.a.sch...@gmail.com] Sent: Tuesday, March 1, 2022 10:38 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ZAD and C/C++ (was:: 2.5 Heads Up) https://secure-web.cisco.com/1PXbV8bBOYAuiVtorpuZs7XE3pKinLwmLYKWPEJUV_PkTrzvWRyNuYDzK47foMg_IwN3TABRuvj8-6d95