This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
0 vs NULL - a note
- From: Robert Collins <robert dot collins at itdomain dot com dot au>
- To: Robert Collins <robert dot collins at itdomain dot com dot au>
- Cc: cygwin-apps at cygwin dot com
- Date: 28 Nov 2001 12:58:41 +1100
- Subject: 0 vs NULL - a note
- References: <20011127230925.GA5830@redhat.com><000001c1779c$e1fe2fa0$2101a8c0@NOMAD> <20011127235226.GA6537@redhat.com><1006906033.2048.23.camel@lifelesswks> <20011128002122.GA6919@redhat.com><1006907495.2048.25.camel@lifelesswks> <20011128005414.GA7118@redhat.com> <1006910727.637.0.camel@lifelesswks>
This is simply a FYI for those interested.
http://www.multimania.com/pierret/cpp212.htm
may precende the standard ratification as it still tests for new
returning 0. It makes an excellent point about NULL vs 0 in assignments.
Anyway, for clarity: Both 0 and NULL are acceptable in setup.exe.
Rob