| View previous topic :: View next topic |
| Author |
Message |
radad
Joined: 19 May 2004 Posts: 246 Location: Melbourne, Australia
|
Posted: Sat Jun 18, 2005 7:15 pm Post subject: fioRemove |
|
|
When I call fioRemove to remove a file it outputs :
remove file mc0:/BEDATA-SYSTEM/KL.DAT
mkdir name mc0:/BEDATA-SYSTEM/KL.DAT
I am not sure where these are being output from.
Anyway why is it creating a directory after it has deleted the file? |
|
| Back to top |
|
 |
pixel
Joined: 30 Jan 2004 Posts: 791
|
Posted: Sat Jun 18, 2005 8:03 pm Post subject: |
|
|
It's a well known bug in sony's RPC server for fio* functions... They forgot a break in the switch between fioRemove and fioMkdir... So, you have to fioRemove then fioRmdir. _________________ pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department. |
|
| Back to top |
|
 |
radad
Joined: 19 May 2004 Posts: 246 Location: Melbourne, Australia
|
Posted: Sat Jun 18, 2005 9:57 pm Post subject: |
|
|
I suspected that would have been the cause. I guess it can't be fixed then.
Thanks for the info. |
|
| Back to top |
|
 |
MrHTFord
Joined: 10 Feb 2004 Posts: 35 Location: England
|
Posted: Sat Jun 18, 2005 10:17 pm Post subject: |
|
|
| Pixel gave you an effective work-around. |
|
| Back to top |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Sun Jun 19, 2005 4:19 am Post subject: |
|
|
Is there any reason we haven't made ps2sdk work around this automatically? _________________ Shoot Pixels Not People!
Makeshift Development |
|
| Back to top |
|
 |
pixel
Joined: 30 Jan 2004 Posts: 791
|
Posted: Sun Jun 19, 2005 8:58 am Post subject: |
|
|
Several answers to that:
-) fioRemove is only a rpc call, which would work with different versions of the same irx, bugged, and non bugged. That's not up to that layer to have that fix
-) the correct layer that should have that workaround would be libc, with a rmdir() function (which would make up the path with the current directory, etc)
-) fileXio removes that bug. _________________ pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department. |
|
| Back to top |
|
 |
|