Searched hist:83217 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/usr.bin/fetch/
H A Dfetch.cdiff 83217 Sat Sep 08 13:17:15 MDT 2001 des If the local file does not exist, or is a regular file, and we're not trying
to resume a transfer, download the requested document into a temporary file
which we later rename. This avoids leaving half-completed files around in
case of a crash (it'll still leave a half-completed file, but with a hope-
fully non-conflicting name), and should reduce the need for human inter-
vention on ports-building machines.

The temporary file name for "foo/bar" is constructed by invoking mkstemps()
with the pattern "foo/.fetch.XXXXXX.bar"

Requested by: obrien

Completed in 118 milliseconds