Discussion:
unusual problem after updated from Solaris10 U9 to Solaris10 U10
Sathees Kumar TS
2011-10-22 06:15:51 UTC
Permalink
Hi,
In our project, we have a license application, and in that, we have an executable that writes into a binary hidden file and the application process is supposed to validate the entries in the file upon startup.
However it is seen that the executable writing into the file is adding the extra “unwanted character” to the entries (it is a function). We corrected this by increasing the buffer (which is used for file handling) size, we use to read the values, but do not understand the relation between the problem & the correction (it was working well until the platform with Solaris10 U9 and the above problem is observed with only in U10, because there is no change in the application code since long time). Any clues for the above are welcome.
--
This message posted from opensolaris.org
Sathees Kumar TS
2011-10-22 11:28:03 UTC
Permalink
We found a fix that, it is because of some changes in C++ libraries with respect to function string::copy(). We made the changes to use the strcpy and it is working fine now. Any comments on this change are welcome. We want to extract the details if any, behind C++ libraries change in Solaris10 U9 and U10.
--
This message posted from opensolaris.org
Ian Collins
2011-10-22 19:03:49 UTC
Permalink
Post by Sathees Kumar TS
We found a fix that, it is because of some changes in C++ libraries with respect to function string::copy(). We made the changes to use the strcpy and it is working fine now. Any comments on this change are welcome. We want to extract the details if any, behind C++ libraries change in Solaris10 U9 and U10.
See the release notes for the C++ runtime patches. Good luck finding
them on the "improved" support site.
--
Ian.
Loading...