Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314788 - SysMin.flushAtExit has incorrect default value
Summary: SysMin.flushAtExit has incorrect default value
Status: CLOSED WONTFIX
Alias: None
Product: RTSC
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dave Russo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-27 18:57 EDT by Ramsey Harris CLA
Modified: 2011-11-09 18:55 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ramsey Harris CLA 2010-05-27 18:57:42 EDT
Currently, the default value for SysMin.flushAtExit is true, it should be false. When set to true, all the data stored in outbuf is flushed to stdio, typically the CIO buffer which is quite small. The net effect is that you loose all your data because CIO is so small and it wraps, so the output is overwritten. This is especially bad when your application crashes and all your error logging is thrown away. In a deployed system, you want to save the data in outbuf. When developing code, and you are using CCS, and its attached when your actually run the program, then its nice to have it set to true. But that should not be the default.
Comment 1 Dave Russo CLA 2010-06-08 12:25:02 EDT
Rejected in CCB. Although the use case provided below is valid a majority of our existing customers expect their System_printf messages to be shown in CIO by default. There is a long history of such usage and to reverse that would cause considerable confusion and pain among many customers. 
The problem mentioned below may have been avoided by better documentation indicating the default behavior of Sysmin. If there are any suggestions on this front a separate bug maybe filed.
Comment 2 Dave Russo CLA 2011-11-09 18:55:50 EST
closing "ancient" resolved bugs