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

Some files truncate into buffer #9

Closed
cdenneen opened this issue Feb 8, 2013 · 6 comments
Closed

Some files truncate into buffer #9

cdenneen opened this issue Feb 8, 2013 · 6 comments
Labels

Comments

@cdenneen
Copy link

cdenneen commented Feb 8, 2013

user@host:~$ head -5 /etc/hosts
#
# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# Internet host table
user@host:~$ sudo /tmp/rmate-new.bash /etc/hosts

Buffer opens with only:

#
# Copyrigh
@scher200
Copy link

+1 half of the file as result on the serverside

@aurora
Copy link
Owner

aurora commented Oct 20, 2016

@scher200 do you mean, you have this issue as well? Which system is it this happens on? I wasn't able to reproduce this behavior on any of my systems, so far ...

@scher200
Copy link

@aurora yes, I have this issue as well,
Ubuntu 14.04 (mint 17 xfce)

I viewed the code but was amazed it is so short. Could it have something to do with: the # character?
Bot of my half empty files contain this character multiple times.

@Jammizzle
Copy link

Not sure it's to do with the '#' character as I'm able to open my my.cnf which is full of them as they're used as comments. Possibly a different issue

@aurora
Copy link
Owner

aurora commented Jan 4, 2018

I just fixed issue #65, wrong detection of filesize. I wonder if this could be the same issue as what is reported in here. So if anybody of you is still following this, i would be really happy if you could download rmate from master branch and try it again. Thanks!

@aurora aurora added the bug label Jan 4, 2018
@aurora
Copy link
Owner

aurora commented Jan 9, 2018

I am closing this, because there's no feedback and i cannot reproduce the issue.

@aurora aurora closed this as completed Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants