Page MenuHomeFreeBSD

D30667.1783637684.diff
No OneTemporary

Size
479 B
Referenced Files
None
Subscribers
None

D30667.1783637684.diff

Index: tail/tail.c
===================================================================
--- tail/tail.c
+++ tail/tail.c
@@ -268,8 +268,15 @@
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);
+ }
+ }
}
fileargs_free(fa);
exit(rval);

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 9, 10:54 PM (8 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29032902
Default Alt Text
D30667.1783637684.diff (479 B)

Event Timeline