From 6323755c60ee7173158279d8a442c1cad96263d0 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 3 Sep 2006 17:42:18 +0200 Subject: Remove some debugging ouput. Alos adjust the notice about turbotail, there isn't really any code from turbotail anymore. --- inotail.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'inotail.c') diff --git a/inotail.c b/inotail.c index 88271f5..cba84c6 100644 --- a/inotail.c +++ b/inotail.c @@ -5,7 +5,7 @@ * * Copyright (C) 2005-2006, Tobias Klauser * - * The idea and some code were taken from turbotail. + * The idea was taken from turbotail. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software @@ -178,8 +178,6 @@ static int tail_file(struct file_struct *f, int n_lines, char mode) lseek(f->fd, offset, SEEK_SET); while ((rc = read(f->fd, &buf, BUFFER_SIZE)) > 0) { - dprintf(" f->st_size - offset: %lu\n", f->st_size - offset); - dprintf(" rc: %d\n", rc); write(STDOUT_FILENO, buf, (size_t) rc); } -- cgit v1.2.3-54-g00ecf