Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147164602
D30667.id90584.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
496 B
Referenced Files
None
Subscribers
None
D30667.id90584.diff
View Options
Index: tail/tail.c
===================================================================
--- tail/tail.c
+++ tail/tail.c
@@ -268,8 +268,16 @@
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);
+ }
+ }
}
fileargs_free(fa);
exit(rval);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 9, 6:50 PM (2 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29452751
Default Alt Text
D30667.id90584.diff (496 B)
Attached To
Mode
D30667: fix tail -f on stdin
Attached
Detach File
Event Timeline
Log In to Comment