Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix -loops failure with large-data-transfers #60

Merged
merged 1 commit into from
Aug 2, 2019

Commits on Jul 24, 2019

  1. Fix -loops failure with large-data-transfers

    The -loops option is broken after merging the pull-request astrand#57 (astrand#57).
    
    Here is a sample transcript to reproduce the problem.
    hwangcc23-BU401LG:~$ dd 'if=/dev/zero' 'bs=2000' 'count=1000' | tr '\000' 'a' | xclip -i -quiet -l 1
    
    Expect: xclip should exist right after any requestor (ex: `xclip -o`) retrieved data.
    What I saw: xclip didn't exist.
    
    Break out the while(1) loop once there is one SelectionRequest completed such that dloop can be decreased by one and compared to sleep for fixing the problem.
    hwangcc23 committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    6de3b33 View commit details
    Browse the repository at this point in the history