The following shell script gives the error message "free bad ptr (3d3d3d3d)
area (0003b20c) on QNX4. Using Neutrino, it works fine. It also seems to
depend on the //============ lines and how much data is printed.
Markus
cat <<THIS_IS_THE_END_MARKER
//========================================================================
// ClassName::ClassName: Constructor of the ClassName class
//========================================================================
ClassName::ClassName ()
{
}
//========================================================================
// ClassName::ClassName: Constructor of the ClassName class
//========================================================================
ClassName::~ClassName ()
{
}
THIS_IS_THE_END_MARKER
Markus Loffler <loffler@ces.clemson.edu> wrote:
The following shell script gives the error message "free bad ptr (3d3d3d3d)
area (0003b20c) on QNX4. Using Neutrino, it works fine. It also seems to
depend on the //============ lines and how much data is printed.
I don’t think the QNX 4 shell does “here” documents properly.
Try grabbing a more recent pdksh from /usr/free
-David
Markus
cat <<THIS_IS_THE_END_MARKER
//========================================================================
// ClassName::ClassName: Constructor of the ClassName class
//========================================================================
ClassName::ClassName ()
{
}
//========================================================================
// ClassName::ClassName: Constructor of the ClassName class
//========================================================================
ClassName::~ClassName ()
{
}
THIS_IS_THE_END_MARKER