pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:1:   /* -*- c -*-   || 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.177 2005/01/08 20:11:57 grubba Exp $ + || $Id: builtin.cmod,v 1.178 2005/05/06 00:41:40 nilsson Exp $   */      #include "global.h"   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"   #include "pike_error.h"
pike.git/src/builtin.cmod:1871:    break;    case 1:    RETURN make_shared_binary_string1((p_wchar1 *)d,len);    break;    case 2:    RETURN make_shared_binary_string2((p_wchar2 *)d,len);    break;    }    }    } -  push_text(""); +  push_empty_string();    return;    }       /*! @decl string get()    *!    *! Get the data from the buffer.    *!    *! @note    *! This will clear the data in the buffer    */
pike.git/src/builtin.cmod:1893:    {    struct Buffer_struct *str = THIS;    if( str->str.s )    {    struct pike_string *s = finish_string_builder( &str->str );    str->str.malloced = 0;    str->str.s = 0;    RETURN s;    }    pop_n_elems(args); -  push_text(""); +  push_empty_string();    return;    }       /*! @decl int _sizeof()    *!    *! Returns the size of the buffer.    */    PIKEFUN int _sizeof()    {    struct Buffer_struct *str = THIS;