aboutsummaryrefslogtreecommitdiff
path: root/src/wydawca.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-04-09 21:28:06 +0300
committerSergey Poznyakoff <gray@gnu.org>2021-04-09 21:31:15 +0300
commit648574a49ad7dc7edacc48d5b6c6366132dbea23 (patch)
treec62f157167c3b1f642df4a494e0d00a9f8f6352f /src/wydawca.h
parent07ceea263f359a04d4fe43883a621bdd47fedc18 (diff)
downloadwydawca-648574a49ad7dc7edacc48d5b6c6366132dbea23.tar.gz
wydawca-648574a49ad7dc7edacc48d5b6c6366132dbea23.tar.bz2
Run the distribution verification script in a separate temporary directory.
The temporary directory is removed when the script terminates. * src/directive.c (run_check_script): Create a separate temporary directory to run the script in. * src/gpg.c (wy_rmdir_r, wy_tempdir): New functions. * src/wydawca.h (wy_rmdir_r, wy_tempdir): New protos.
Diffstat (limited to 'src/wydawca.h')
-rw-r--r--src/wydawca.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wydawca.h b/src/wydawca.h
index eede04c..df7ef9b 100644
--- a/src/wydawca.h
+++ b/src/wydawca.h
@@ -551,3 +551,7 @@ void *wy_thr_cleaner(void *ptr);
void wy_triplet_wait(void);
void *wy_thr_tcpmux(void *ptr);
void *wy_thr_connection_watcher(void *ptr);
+
+char *wy_tempdir(void);
+int wy_rmdir_r(const char *name);
+

Return to:

Send suggestions and report system problems to the System administrator.