Branch: Tag:

2004-04-25

2004-04-25 19:47:36 by Martin Nilsson <mani@lysator.liu.se>

Doc update and removed unneeded code.

Rev: src/builtin.cmod:1.155

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.cmod,v 1.154 2004/04/18 02:17:44 mast Exp $ + || $Id: builtin.cmod,v 1.155 2004/04/25 19:47:36 nilsson Exp $   */      #include "global.h"
184:   /*! @decl string int2hex(int x)    *! @appears String.int2hex    *! -  *! Same as sprintf("%x",x); +  *! Same as @expr{sprintf("%x",x);@}, i.e. writes out the integer @[x] +  *! in hexadecimal base using lower case.    *!    *! @seealso    *! @[sprintf()]
231:    while(n>15) { n>>=4; len++; }       s=begin_shared_string(len); -  c=x->u.integer; +     if(!c)    {    s->str[0]='0';