Problems with STDIO in C++

      Last changed 5. Dec 1996

      Description

      The C++ libraries from Unifix Linux 2.0 contain a severe bug in the stdio code.

      Effect

      The following code should print "2" but does not:

      #include 
      
      int main()
      {
        double d = 2.0;
        cout << d << endl;
        return 0;
      }
      

      Fix

      Install the new C++ library. Get the patch http://www.unifix.de/support/patches/patch-2.0.0.2.cpio , and run (as root) swinstall -s patch-2.0.0.2.cpio .

      Workaround

      No workaround known.

      Back to the list of known problems