Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dio salvi le revision.
  • Loading branch information
Marco Rondini committed Feb 28, 2012
1 parent 12cd549 commit 72b3098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "tailnative",
"version": "0.1.1",
"version": "0.1.2",
"main" : "tailnative",
"description": "Native (C++) Re-Implemetation of 'tail -f' command",
"keywords": [
Expand Down
4 changes: 1 addition & 3 deletions src/tail.cpp
Expand Up @@ -52,9 +52,7 @@ int Tail::find_line_lenght(ifstream &infile, int position) {
int filesize = infile.tellg();

infile.seekg(position, ios::beg);

cout << "filesize : " << filesize << endl;


for ( int n = 1; n <= filesize - position; n++ ) {
infile.seekg(position + n, ios::beg);
char c;
Expand Down

0 comments on commit 72b3098

Please sign in to comment.