Historical Deprecated40, Revision 4
Deprecated Items in 4.0
Include Files
This may sound drastic, but all include/*.e are deprecated. With 4.0 comes a newly organized standard library that is located in include/std. To use, you simply:
include std/sequence.e include std/datetime.e include std/map.e
for example.
db_fatal_id
This was made available by database.e in order to set the fatal error handler. If well behaved, it should present user with the error message it received, clean up as much as possible, and then abort. But nothing was enforcing good behavior.
Old code:
procedure db_handler(sequence error_msg) puts(2, error_msg) flush(db_current()) close(db_current()) abort(1) end procedure db_fatal_id = routine_id("db_handler")
New code:
procedure db_handler(sequence error_msg) puts(2, error_msg) flush(db_current()) close(db_current()) abort(1) end procedure include std/error.e crash_routine(routine_id("db_handler"))
- diff to current revision, view current revision history, backlinks
- Last modified Sep 04, 2008 by DerekParnell