This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] to libiberty: provide atexit for original UNIX systems


 > 2000-12-24  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
 > 
 >         * atexit.c [!HAVE_ON_EXIT]: Provide our own atexit assuming the
 >         original UNIX exit implementation.


IMHO, this is the wrong approach.  You're adding an inherently
un-portable fallback to libiberty (on_exit notwithstanding.)

Instead of doing that, you should change fixinc to use libiberty's
xatexit/xexit pair.

		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]