forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

possible bug in newlib chdir?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
sherpya



Joined: 03 Oct 2005
Posts: 61

PostPosted: Thu Oct 20, 2005 12:43 am    Post subject: possible bug in newlib chdir? Reply with quote

I was porting a code that uses chdir, but it seams that doint chdir("./") crashes somehow the psp, the line number is in the path_absolute stuff of newlib
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Oct 20, 2005 6:55 am    Post subject: Reply with quote

Seems to work just fine here, can you provide an example?
Back to top
View user's profile Send private message
sherpya



Joined: 03 Oct 2005
Posts: 61

PostPosted: Thu Oct 20, 2005 11:02 am    Post subject: Reply with quote

I don't have always the usb cable, but It's reproducible, I'm not sure that the string passed is "./", it maybe also a non null terminated string, in this case is a programming error and not a bug in the lib (the code is not mine).
I'll post soon my results
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group