[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
Thu Jul 29 21:39:04 UTC 2010
https://www.rtems.org/bugzilla/show_bug.cgi?id=1620
--- Comment #7 from Joel Sherrill <joel.sherrill at oarcorp.com> 2010-07-29 16:39:04 CDT ---
(In reply to comment #6)
> (In reply to comment #0)
> > I sense the following problems with the routine rtems_libio_share_private_env:
> >
> > - The routine is wrapped around with #ifndef HAVE_USERENV_REFCNT ... #endif. Is
> > this intended? Also, there is a #ifdef HAVE_USERENV_REFCNT... #endif inside
> > this routine.
> >
> I have just removed the outer #ifndef, since I could not realize its real
> purpose. Though I retained the inner #ifdef since I could sense the use of
> having a reference count.
This should help make more sense of it and it seems safer anyway. Plus this
was a conditional no one could turn on except by hand.
--
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