~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/readline.c

Merged build changes from Antony.

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>
19
 
#include <my_sys.h>
20
 
#include <m_string.h>
 
18
#include "client_priv.h"
 
19
#include <mysys/my_sys.h>
 
20
#include <mystrings/m_string.h>
21
21
#include "my_readline.h"
22
22
 
23
23
static bool init_line_buffer(LINE_BUFFER *buffer,File file,ulong size,
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