pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
2006-03-10
2006-03-10 09:08:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>
9520709c76d0ee2967da4fdf14c70e5c68e867fc (
8
lines) (+
2
/-
6
)
[
Show
|
Annotate
]
Branch:
7.9
Removed debug... Oops...
Rev: src/builtin_functions.c:1.608
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: builtin_functions.c,v 1.
607
2006/03/
09
20
:
31
:
26
grubba Exp $
+
|| $Id: builtin_functions.c,v 1.
608
2006/03/
10
09:
08
:
41
grubba Exp $
*/ #include "global.h"
3342:
} else if(tmp>0) {
-
fprintf(stderr, "v[%d] == \"%s\" > \"%s\"\n",
-
c, v[c].ind->str, str);
+
b=c; } else {
-
fprintf(stderr, "v[%d] == \"%s\" is prefix to \"%s\"\n",
-
c, v[c].ind->str, str);
+
a=c+1; /* There might still be a better match... */ match=c; match_len = v[c].ind->len; } }
-
fprintf(stderr, "Result: %d\n", match);
+
return match; }