InvictusInnovations/fc — pull request #19 by pch957 (2014-03-20 01:53:20+00:00)
Title: filesystem::rename() can handle file from cross device

when I run blockchain_tests, I got message:

Unable to save wallet /tmp/e204-365d-23c3-970b/wallet.dat
{"wallet":"/tmp/e204-365d-23c3-970b/wallet.dat"}
th_a wallet.cpp:478 save
unspecified
Rename from /tmp/e204-365d-23c3-970b/wallet.dat to af5a-d064-b93f-ff6e failed because boost::filesystem::rename: Invalid cross-device link: "/tmp/e204-365d-23c3-970b/wallet.dat", "af5a-d064-b93f-ff6e"
{"srcfile":"/tmp/e204-365d-23c3-970b/wallet.dat","dstfile":"af5a-d064-b93f-ff6e","reason":"boost::filesystem::rename: Invalid cross-device link: \"/tmp/e204-365d-23c3-970b/wallet.dat\", \"af5a-d064-b93f-ff6e\""}
th_a filesystem.cpp:238 rename
Unable to save wallet /tmp/e204-365d-23c3-970b/wallet.dat
{"wallet":"/tmp/e204-365d-23c3-970b/wallet.dat"}
th_a wallet.cpp:478 save
unable to import private key