Projects
Mega:24.03
zip
_service:tar_scm:openEuler-Cleanup-residual-tem...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:openEuler-Cleanup-residual-temporary-file.patch of Package zip
diff -Naur a/zip.c b/zip.c --- a/zip.c 2020-10-14 14:46:09.809000000 +0800 +++ b/zip.c 2020-10-15 14:17:17.884000000 +0800 @@ -450,6 +450,15 @@ /* Upon getting a user interrupt, turn echo back on for tty and abort cleanly using ziperr(). */ { +/* Cleanup residual temporary file */ +if ( s == SIGABRT ) + { + if (tempzip != NULL) + { + destroy(tempzip); + } + } + #if defined(AMIGA) && defined(__SASC) _abort(); #else
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2