# HG changeset patch # User tuomov # Date 1097336309 -7200 # Node ID 2cdbf14647964ba7fe66704c9f24f6749e5c14d5 # Parent 895f6304179d564a88c40a1613bc1ce0fd4539df trunk: changeset 1813 Minor libextl related changes etc. diff -r 895f6304179d -r 2cdbf1464796 objp.h --- a/objp.h Sat Oct 09 13:01:37 2004 +0200 +++ b/objp.h Sat Oct 09 17:38:29 2004 +0200 @@ -29,7 +29,7 @@ void (*destroy_fn)(); }; -#define OBJ_TYPESTR(OBJ) (((Obj*)OBJ)->obj_type->name) +#define OBJ_TYPESTR(OBJ) ((OBJ) ? ((Obj*)OBJ)->obj_type->name : NULL) #define IMPLCLASS(CLS, ANCESTOR, DFN, DYN) \ ClassDescr CLASSDESCR(CLS)={ \ diff -r 895f6304179d -r 2cdbf1464796 output.c --- a/output.c Sat Oct 09 13:01:37 2004 +0200 +++ b/output.c Sat Oct 09 17:38:29 2004 +0200 @@ -113,8 +113,7 @@ static void fallback_warn() { put_prog_name(); - fprintf(stderr, TR("Oops. Error string compilation failed: %s"), - strerror(errno)); + fprintf(stderr, "%s\n", strerror(errno)); }