Branch: Tag:

1999-10-31

1999-10-31 22:32:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed more wide-string bugs in sscanf().

Rev: src/opcodes.c:1.61

25:   #include "security.h"   #include "bignum.h"    - RCSID("$Id: opcodes.c,v 1.60 1999/10/31 22:14:51 grubba Exp $"); + RCSID("$Id: opcodes.c,v 1.61 1999/10/31 22:32:45 grubba Exp $");      void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind)   {
1091:    case 'x': base = 16; break; \    } \    \ -  /* FIXME! */ \ -  string_to_svalue_inumber(&sval, input+eye, &t, \ -  base, field_length); \ +  wide_string_to_svalue_inumber(&sval, input+eye, (void **)&t, \ +  base, field_length, \ +  INPUT_SHIFT); \    \    if(input + eye == t) \    { \