diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2006-09-03 17:42:18 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2006-09-03 17:42:18 +0200 |
commit | 6323755c60ee7173158279d8a442c1cad96263d0 (patch) | |
tree | c323d9aab1ad0ec9d27b50fcf2f2779f60273cfe | |
parent | e9cea9de2b1ec6368c6fb4f205022028e5ef7119 (diff) |
Remove some debugging ouput.
Alos adjust the notice about turbotail, there isn't really any code from turbotail anymore.
-rw-r--r-- | inotail.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -5,7 +5,7 @@ * * Copyright (C) 2005-2006, Tobias Klauser <tklauser@distanz.ch> * - * 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); } |