Page MenuHomeFreeBSD

D25662.diff
No OneTemporary

D25662.diff

Index: head/usr.bin/xinstall/install.1
===================================================================
--- head/usr.bin/xinstall/install.1
+++ head/usr.bin/xinstall/install.1
@@ -301,8 +301,8 @@
.Fx
Ports Collection.
.Sh FILES
-.Bl -tag -width "INS@XXXX" -compact
-.It Pa INS@XXXX
+.Bl -tag -width "INS@XXXXXX" -compact
+.It Pa INS@XXXXXX
If either
.Fl S
option is specified, or the
@@ -312,9 +312,9 @@
option is used in conjunction with the
.Fl s
option, temporary files named
-.Pa INS@XXXX ,
+.Pa INS@XXXXXX ,
where
-.Pa XXXX
+.Pa XXXXXX
is decided by
.Xr mkstemp 3 ,
are created in the target directory.
Index: head/usr.bin/xinstall/xinstall.c
===================================================================
--- head/usr.bin/xinstall/xinstall.c
+++ head/usr.bin/xinstall/xinstall.c
@@ -1161,7 +1161,7 @@
p++;
else
p = temp;
- (void)strncpy(p, "INS@XXXX", &temp[tsize - 1] - p);
+ (void)strncpy(p, "INS@XXXXXX", &temp[tsize - 1] - p);
temp[tsize - 1] = '\0';
return (mkstemp(temp));
}

File Metadata

Mime Type
text/plain
Expires
Fri, Jun 26, 9:10 PM (3 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34370313
Default Alt Text
D25662.diff (1021 B)

Event Timeline