~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/readline.c

  • Committer: Brian Aker
  • Date: 2008-07-30 17:24:10 UTC
  • mfrom: (236.1.6 codestyle)
  • Revision ID: brian@tangent.org-20080730172410-t4r8o7lx7r9m95x7
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
/* readline for batch mode */
17
17
 
18
 
#include <my_global.h>
 
18
#include "client_priv.h"
19
19
#include <mysys/my_sys.h>
20
20
#include <mystrings/m_string.h>
21
21
#include "my_readline.h"
161
161
  /* Shift stuff down. */
162
162
  if (buffer->start_of_line != buffer->buffer)
163
163
  {
164
 
    bmove(buffer->buffer,buffer->start_of_line,(uint) bufbytes);
 
164
    memcpy(buffer->buffer, buffer->start_of_line, (uint) bufbytes);
165
165
    buffer->end=buffer->buffer+bufbytes;
166
166
  }
167
167