On Sat, 21 Jul 2007, Andreas Schwab wrote:
That's the problem. It does not return the string associated with the target errno, but something else.
It depends on what is being passed in to it. Looking over it again this morning, I can see some paths where it is passed the host errno, and some paths where it is passed a target errno via "ret". So in the later case, it would be double mapping the errno, which would be wrong. I had suspected there may be a bit more work left in mapping errno values, but I wasn't yet sure what was needed where. I'd like to clear up the use of target_strerr() as part of that fix if that's ok with everyone. Stuart Stuart R. Anderson [EMAIL PROTECTED] Network & Software Engineering http://www.netsweng.com/ 1024D/37A79149: 0791 D3B8 9A4C 2CDC A31F BD03 0A62 E534 37A7 9149