Welcome to Gentoox!
The original Xbox adaptation of Gentoo

     Modules
· Home
· Buy_Gentoox
· Contact
· Dev_and_Sources
· Downloads
· FAQ
· Forums
· Links
· Magic_Repository
· Misc
· News Archive
· Patches
· Polls
· Search
· Sections
· Server_Stats
· Top 10
· Tutorials

     IRC

irc.shallax.com
#gentoox


     Search



     Powered by


     Latest Versions
Prov5.1
Homev7.1
Loaderv6.07
MCEv1.3
Resctooxv6.0
Sparklev4.0

 News: More magic error handling updates!

GentooxI've been making yet more modifications to the way magic handles errors and I think I'm just about done. Instead of having to send error signals to the "*.b0x" file, then the "patches" file, then the root "magic" script, now all I need to do is send let the .b0x file know when there's an error, it will then automatically pass this information right back down to the magic script which will tell you what went wrong in which patch and it will give you some information on why it may have gone wrong and how to fix.

Handling errors like this should be foolproof and makes the patch files smaller since I have been able to cut out much code.

*Update*
The final thing that was annoying me about error handling in magic has just been fixed! People were able to hit Ctrl-C to quit magic but this would leave lots of ugly temporary files lying around (one which could even stop loadmonitor from working). Now the Ctrl-C signal is trapped by bash and the necessary cleanup tasks are performed before magic finally dies.



 




Administration
Gentoox is distributed under the terms of the General Public License

Page Generation: 0.02 Seconds