Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:bmwiedemann:reproducible:distribution:ring1
netpbm
netpbm-security-scripts.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File netpbm-security-scripts.patch of Package netpbm
Index: netpbm-11.2.0/editor/ppmshadow =================================================================== --- netpbm-11.2.0.orig/editor/ppmshadow +++ netpbm-11.2.0/editor/ppmshadow @@ -194,9 +194,10 @@ my $tmpdir = $ENV{TMPDIR} || "/tmp"; my $ourtmp; if ($keeptemp) { - $ourtmp = "$tmpdir/ppmshadow$$"; - mkdir($ourtmp, 0777) or - die("Unable to create directory for temporary files '$ourtmp"); + chomp($ourtmp = `mktemp -d -t PPMshadow.XXXXXX`); + if ($? >> 8) { + die "Can't create directory for temporary files"; + } } else { $ourtmp = File::Temp::tempdir("$tmpdir/ppmshadowXXXX", CLEANUP=>1); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor