linux-user: break recursion loop on symlink to . or ..
authorMika Westerberg <ext-mika.westerberg@nokia.com>
Fri, 16 Jan 2009 13:22:52 +0000 (15:22 +0200)
committerRiku Voipio <riku.voipio@nokia.com>
Fri, 16 Jan 2009 13:42:10 +0000 (15:42 +0200)
commit9a7ba688beef1c2d7da038fb433a6263228796e1
tree2830ffa55e99ce9d9a213b4ef49c2accec8d43b1
parentb33834c559041f3786bb00649efe1687ce688ae9
linux-user: break recursion loop on symlink to . or ..

This patch corrects bug in qemu where it contructs its
internal paths and ends up in recursion loop when filesystem
contains symlink that points to dot '.'.

(Riku: some whitespace fudging to minize diff - the whole
 file needs reindenting...)
linux-user/path.c