Changeset 380 for trunk/orca

Show
Ignore:
Timestamp:
04/03/07 17:43:16 (20 months ago)
Author:
krobillard
Message:

Change to rename now compiles.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/stdio.c

    r379 r380  
    2121#include <stdlib.h> 
    2222#include <stdio.h> 
     23#include <string.h> 
    2324#include <errno.h> 
    2425#include "ovalue.h" 
     
    9394#ifdef _WIN32 
    9495    // We want Unix rename overwrite behavior. 
    95     if( orIsDir() == 0 ) 
     96    if( orIsDir( cp2 ) == 0 ) 
    9697    { 
    9798        if( remove( cp2 ) == -1 )