home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.g++.lib.bug
- Path: sparky!uunet!cis.ohio-state.edu!compuserve.COM!75030.631
- From: 75030.631@compuserve.COM (gail slemon, expersoft)
- Subject: iostream handling of NULL char*
- Message-ID: <920724195151_75030.631_CHG132-2@CompuServe.COM>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Fri, 24 Jul 1992 19:51:52 GMT
- Approved: bug-lib-g++@prep.ai.mit.edu
- Lines: 11
-
- Hi!
- Our application died when trying to write a NULL char *
- using the ostream << operator. Since this code has survived
- compilation using several cfront based compilers, I ended up
- adding a check for NULL to ostream& operator<< (ostream& stream,
- const char *s) in iostream.C. Is this uncool?
-
- Thanks!
- Gail
-
-
-