Skip to content

Release mode file transfer #8

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. compile pcp in release mode.
2. transfer files with release mode pcp.  On some transfers (I don't know
how to reproduce exactly) receiving party will be notified the transfer
failed, while sending party gets notified of successful transfer
3.

What is the expected output? What do you see instead?
Transfer should succeed.  Instead, sending machine completes transfer but
receiving machine gets transfer failed notification.  

What version of the product are you using? On what operating system?
libjingle 0.4 on windows XP

Please provide any additional information below.
Only happens in Release mode.  Win32Filesystem::MoveFileI was failing. 
Changing line 143 of /talk/base/win32filesystem.cc to the following fixed
the issue for me:
if(rename(old_path.pathname().c_str(), new_path.pathname().c_str()) !=0) {

Original issue reported on code.google.com by doug.per...@gmail.com on 30 Mar 2007 at 6:18

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions