Branch: Tag:

2003-01-26

2003-01-26 11:09:01 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

Some more work to get INT_TYPE long long to work:
use INT_TYPE instead of INT32 when we use/make the Pike int type
Use PRINTPIKEINT when we sprintf-format it

Rev: src/builtin.cmod:1.109
Rev: src/builtin_functions.c:1.464
Rev: src/encode.c:1.162
Rev: src/global.h:1.78
Rev: src/language.yacc:1.313
Rev: src/las.c:1.322
Rev: src/las.h:1.60
Rev: src/pike_types.c:1.205
Rev: src/pike_types.h:1.84
Rev: src/threads.c:1.198

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: threads.c,v 1.197 2003/01/10 17:06:12 grubba Exp $ + || $Id: threads.c,v 1.198 2003/01/26 11:09:01 mirar Exp $   */      #include "global.h" - RCSID("$Id: threads.c,v 1.197 2003/01/10 17:06:12 grubba Exp $"); + RCSID("$Id: threads.c,v 1.198 2003/01/26 11:09:01 mirar Exp $");      PMOD_EXPORT int num_threads = 1;   PMOD_EXPORT int threads_disabled = 0;
1001:    {    default:    bad_arg_error("mutex->lock", Pike_sp-args, args, 2, "int(0..2)", Pike_sp+1-args, -  "Unknown mutex locking style: %d\n",type); +  "Unknown mutex locking style: %"PRINTPIKEINT"d\n",type);          case 0:
1103:    {    default:    bad_arg_error("mutex->trylock", Pike_sp-args, args, 2, "int(0..2)", Pike_sp+1-args, -  "Unknown mutex locking style: %d\n",type); +  "Unknown mutex locking style: %"PRINTPIKEINT"d\n",type);       case 0:    if(m->key && OB2KEY(m->key)->owner == Pike_interpreter.thread_id)