possible bug in newlib chdir?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
sherpya
Posts: 61
Joined: Mon Oct 03, 2005 5:49 pm

possible bug in newlib chdir?

Post by sherpya »

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
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Seems to work just fine here, can you provide an example?
User avatar
sherpya
Posts: 61
Joined: Mon Oct 03, 2005 5:49 pm

Post by sherpya »

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
Post Reply