~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/my_copy.cc

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
#include "mysys/mysys_priv.h"
 
16
#include "drizzled/internal/mysys_priv.h"
17
17
 
18
18
#include <fcntl.h>
19
19
 
20
 
#include <mystrings/m_string.h>
 
20
#include "drizzled/internal/m_string.h"
21
21
#if defined(HAVE_UTIME_H)
22
22
#include <utime.h>
23
23
#elif defined(HAVE_SYS_UTIME_H)
73
73
  {
74
74
    if (stat(from, &stat_buff))
75
75
    {
76
 
      my_errno=errno;
 
76
      errno=errno;
77
77
      goto err;
78
78
    }
79
79
    if (MyFlags & MY_HOLD_ORIGINAL_MODES && new_file_stat)