FreeBSD Bugzilla – Attachment 147901 Details for
Bug 194086
[patch] net/GeoIP: geoipupdate.sh still don't update file atomically
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch to fix problem, create temp dir on same device
geoipupdate.sh.in.patch.txt (text/plain), 503 bytes, created by
Yasuhito FUTATSUKI
on 2014-10-02 07:05:46 UTC
(
hide
)
Description:
patch to fix problem, create temp dir on same device
Filename:
MIME Type:
Creator:
Yasuhito FUTATSUKI
Created:
2014-10-02 07:05:46 UTC
Size:
503 bytes
patch
obsolete
>Index: files/geoipupdate.sh.in >=================================================================== >--- files/geoipupdate.sh.in (revision 369513) >+++ files/geoipupdate.sh.in (working copy) >@@ -9,7 +9,7 @@ > _fetch() { > url="$1" > out="$2" >- TEMPDIR="$(mktemp -d /tmp/GeoIPupdate.XXXXXX)" >+ TEMPDIR="$(mktemp -d %%DATADIR%%/GeoIPupdate.XXXXXX)" > trap 'rc=$? ; set +e ; rm -rf "'"$TEMPDIR"'" ; exit $rc' 0 > if fetch -o "$TEMPDIR/$out.gz" "$url"; then > gunzip "$TEMPDIR/$out.gz"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 194086
: 147901