diff --git a/src/dynamic_load.c b/src/dynamic_load.c index 12d7f39892070c37d1a6e377cc7d27af5c7f0d04..7ce16e46be7a158a3859b6b59134b3d1b025f3da 100644 --- a/src/dynamic_load.c +++ b/src/dynamic_load.c @@ -93,7 +93,7 @@ void f_load_module(INT32 args) free(module); #endif - error("Failed to initialize module.\n"); + error("Failed to initialize module \"%s\".\n", module_name); } new_module=ALLOC_STRUCT(module_list); diff --git a/src/mapping.c b/src/mapping.c index 7fb3400f16a88a80cf1a36cca2d1ef34552d1d27..2a21191824dbee67182c8f1c456ec4041cf251fe 100644 --- a/src/mapping.c +++ b/src/mapping.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: mapping.c,v 1.13 1997/02/17 20:47:13 hubbe Exp $"); +RCSID("$Id: mapping.c,v 1.14 1997/03/11 23:32:28 grubba Exp $"); #include "main.h" #include "types.h" #include "object.h" @@ -795,7 +795,7 @@ void f_aggregate_mapping(INT32 args) struct mapping *m; if(args & 1) - error("Uneven number of arguments to aggregage_mapping.\n"); + error("Uneven number of arguments to aggregate_mapping.\n"); m=allocate_mapping(MAP_SLOTS(args / 2)); diff --git a/src/object.c b/src/object.c index d8266f8edb85eecf136d5e54cf637980fc1f0543..7d8ee011dd40d1f4053ee2d47efaa6c279011c89 100644 --- a/src/object.c +++ b/src/object.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: object.c,v 1.13 1997/02/07 01:33:03 hubbe Exp $"); +RCSID("$Id: object.c,v 1.14 1997/03/11 23:32:29 grubba Exp $"); #include "object.h" #include "dynamic_buffer.h" #include "interpret.h" @@ -469,7 +469,7 @@ void object_set_index2(struct object *o, f=find_shared_string_identifier(index->u.string, p); if(f < 0) { - error("No such variable in object.\n"); + error("No such variable (%s) in object.\n", index->u.string->str); }else{ object_low_set_index(o, f, from); } diff --git a/src/opcodes.c b/src/opcodes.c index 65cba860193749752e3983aa19bcedc6a42419fe..8faf5655ec37d453a76f711b5872b144fbead694 100644 --- a/src/opcodes.c +++ b/src/opcodes.c @@ -643,7 +643,7 @@ static INT32 low_sscanf(INT32 num_arg) goto test_again; case 's': - error("Illigal to have two adjecent %%s.\n"); + error("Illegal to have two adjecent %%s.\n"); return 0; /* make gcc happy */ /* sscanf("foo-bar","%s%d",a,b) might not work as expected */ diff --git a/src/operators.c b/src/operators.c index 66e82299e06eb87188539d46175532089a587fe8..0e26ab803db982310f255b71676347d804d7f2b4 100644 --- a/src/operators.c +++ b/src/operators.c @@ -5,7 +5,7 @@ \*/ #include <math.h> #include "global.h" -RCSID("$Id: operators.c,v 1.10 1997/03/08 12:54:07 hubbe Exp $"); +RCSID("$Id: operators.c,v 1.11 1997/03/11 23:32:32 grubba Exp $"); #include "interpret.h" #include "svalue.h" #include "multiset.h" @@ -1233,7 +1233,7 @@ void f_index(INT32 args) o_range(); break; default: - error("Too manu arguments to `[]\n"); + error("Too many arguments to `[]\n"); } } @@ -1251,7 +1251,7 @@ void f_arrow(INT32 args) o_index(); break; default: - error("Too manu arguments to `->\n"); + error("Too many arguments to `->\n"); } } diff --git a/src/program.c b/src/program.c index f9984d738676b8f3fd0489a4860bc0da3343bb10..3da19cf80d02bf707fb10a8c974e9d969c1991de 100644 --- a/src/program.c +++ b/src/program.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: program.c,v 1.26 1997/03/11 03:36:42 hubbe Exp $"); +RCSID("$Id: program.c,v 1.27 1997/03/11 23:32:33 grubba Exp $"); #include "program.h" #include "object.h" #include "dynamic_buffer.h" @@ -1310,7 +1310,7 @@ int find_identifier(char *name,struct program *prog) { struct pike_string *n; if(!prog) - error("Identifier lookup in destructed object.\n"); + error("Lookup of identifier %s in destructed object.\n", name); n=findstring(name); if(!n) return -1; return find_shared_string_identifier(n,prog);