Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
vim.11498
vim-7.3-mktemp_tutor.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vim-7.3-mktemp_tutor.patch of Package vim.11498
diff -rup vim73.orig/src/vimtutor vim73/src/vimtutor --- vim73.orig/src/vimtutor 2010-05-15 13:04:10.000000000 +0200 +++ vim73/src/vimtutor 2010-11-21 05:28:54.592338812 +0100 @@ -24,8 +24,7 @@ xx=$1 export xx # We need a temp file for the copy. First try using a standard command. -tmp="${TMPDIR-/tmp}" -TUTORCOPY=`mktemp $tmp/tutorXXXXXX || tempfile -p tutor || echo none` +TUTORCOPY=`mktemp /tmp/tutorXXXXXX || echo /tmp/tutor$$` # If the standard commands failed then create a directory to put the copy in. # That is a secure way to make a temp file.
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