Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153982910
D25662.id74430.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
448 B
Referenced Files
None
Subscribers
None
D25662.id74430.diff
View Options
Index: usr.bin/xinstall/xinstall.c
===================================================================
--- usr.bin/xinstall/xinstall.c
+++ usr.bin/xinstall/xinstall.c
@@ -1150,7 +1150,8 @@
p++;
else
p = temp;
- (void)strncpy(p, "INS@XXXX", &temp[tsize - 1] - p);
+ /* For compatibility with glibc we must use 6 'X' characters */
+ (void)strncpy(p, "INS@XXXXXX", &temp[tsize - 1] - p);
temp[tsize - 1] = '\0';
return (mkstemp(temp));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 26, 6:18 AM (7 m, 11 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32168511
Default Alt Text
D25662.id74430.diff (448 B)
Attached To
Mode
D25662: Allow install(1)'s create_tempfile() to work on Linux hosts
Attached
Detach File
Event Timeline
Log In to Comment