Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156711744
D38281.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
399 B
Referenced Files
None
Subscribers
None
D38281.diff
View Options
diff --git a/usr.bin/cmp/special.c b/usr.bin/cmp/special.c
--- a/usr.bin/cmp/special.c
+++ b/usr.bin/cmp/special.c
@@ -65,8 +65,10 @@
if ((fp1 = fdopen(fd1, "r")) == NULL)
err(ERR_EXIT, "%s", file1);
+ (void)setvbuf(fp1, NULL, _IOFBF, 65536);
if ((fp2 = fdopen(fd2, "r")) == NULL)
err(ERR_EXIT, "%s", file2);
+ (void)setvbuf(fp2, NULL, _IOFBF, 65536);
dfound = 0;
while (skip1--)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 16, 8:23 PM (14 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33096886
Default Alt Text
D38281.diff (399 B)
Attached To
Mode
D38281: cmp: Increase buffer size for non-mmap case.
Attached
Detach File
Event Timeline
Log In to Comment