Ticket #932 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Fix error handling code in earth (in C).

Reported by: ales Owned by: ales
Milestone: Future Component: other
Severity: major Keywords:
Cc: Blocking:
Blocked By:


It currently calls exit() and kills the whole process. Should gracefully return an error code instead.

Change History

comment:1 Changed 3 years ago by ales

  • Status changed from new to closed
  • Resolution set to fixed

In [12003]:

Changed EvalSubsetsUsingXtx in earth package to return an error code if there are lin. dep. terms in bx.
Fixes #932 (not completely - there are still alot of places where exit() can get called but are nested more deeply (most importantly malloc errors) and would require to much work, but this one is the only one that fails under normal circumstances).

Note: See TracTickets for help on using tickets.