Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162918658
D30667.id90505.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
479 B
Referenced Files
None
Subscribers
None
D30667.id90505.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 19, 7:25 AM (1 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35225929
Default Alt Text
D30667.id90505.diff (479 B)
Attached To
Mode
D30667: fix tail -f on stdin
Attached
Detach File
Event Timeline
Log In to Comment