Page MenuHomeFreeBSD

D30667.id90593.diff
No OneTemporary

D30667.id90593.diff

Index: tail/tail.c
===================================================================
--- tail/tail.c
+++ tail/tail.c
@@ -268,8 +268,17 @@
if (rflag)
reverse(stdin, fn, style, off, &sb);
- else
+ else {
forward(stdin, fn, style, off, &sb);
+ if (fflag) {
+ file = (struct file_info *) malloc(sizeof(struct file_info));
+ file->file_name = strdup(fn);
+ file->fp = stdin;
+ follow(file, style, off);
+ free(file->file_name);
+ free(file);
+ }
+ }
}
fileargs_free(fa);
exit(rval);

File Metadata

Mime Type
text/plain
Expires
Fri, May 1, 8:58 AM (8 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32567837
Default Alt Text
D30667.id90593.diff (524 B)

Event Timeline