[Bug 1620] Issues with rtems_libio_share_private_env at cpukit/libcsupport/src/privateenv.c

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Jul 23 00:59:02 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1620

--- Comment #4 from Joel Sherrill <joel.sherrill at oarcorp.com> 2010-07-22 19:59:02 CDT ---
Created an attachment (id=907)
 --> (https://www.rtems.org/bugzilla/attachment.cgi?id=907)
Version of file with changes

How do these changes look?  If sharing with self and we already have a private
environment, then I only see thress choices:

+ consider it an error
+ delete private environment and go back to global
+ delete current private environment and set up a new one (new private env)

The first is a simple solution and might be the best.

I implemented the second solution in the privateenv.c attached.

The third can be accomplished if you delete your environment (option 2) and
then readd the environment by the normal call.

Suggestions and comments welcomed.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list