hi!
>>>>> "Yuri" == Yuri Dario <mc6530@stripped> writes:
Yuri> Hi Monty,
Yuri> already opened using O_SHARE; adding O_SHARE to my_open() and
Yuri> my_create() fixed it. I don't know if it is a specific OS/2 bug, or
>> Where did you do the changes ?
Yuri> into mysys\my_copy.c:
Yuri> #ifdef OS2
Yuri> if ((from_file=my_open(from,O_RDONLY|O_SHARE,MyFlags)) >= 0)
Yuri> #else
Yuri> if ((from_file=my_open(from,O_RDONLY,MyFlags)) >= 0)
Yuri> #endif
Yuri> {
Yuri> and
Yuri> if ((to_file= my_create(to,(int) stat_buff.st_mode,
Yuri> #ifdef OS2
Yuri> O_WRONLY | O_TRUNC | O_BINARY | O_SHARE,
Yuri> #else
Yuri> O_WRONLY | O_TRUNC | O_BINARY,
Yuri> #endif
Yuri> MyFlags)) < 0)
Yuri> goto err;
Applied; Thanks !
Regrads,
Monty