pike.git / src / dynamic_buffer.c

version» Context lines:

pike.git/src/dynamic_buffer.c:46:   }      PMOD_EXPORT void low_my_binary_strcat(const char *b, size_t l,    dynamic_buffer *buf)   {   #ifdef PIKE_DEBUG    if(!buf->s.str)    Pike_fatal("Error in internal buffering.\n");   #endif    -  MEMCPY(low_make_buf_space(l, buf),b, l); +  memcpy(low_make_buf_space(l, buf),b, l);   }      PMOD_EXPORT void debug_initialize_buf(dynamic_buffer *buf)   {    buf->s.str=xalloc((buf->bufsize=BUFFER_BEGIN_SIZE));    *(buf->s.str)=0;    buf->s.len=0;   }      PMOD_EXPORT void low_reinit_buf(dynamic_buffer *buf)