aboutsummaryrefslogtreecommitdiff
path: root/lib/envop.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-06-03 18:20:16 +0300
committerSergey Poznyakoff <gray@gnu.org>2021-06-03 18:35:42 +0300
commit5468d4012f55f7332c7c7df6dabb4fa1e157a3b5 (patch)
tree343896d13ad4d814609567d00a30a14cfd90d24e /lib/envop.h
parentd0aca5ad26a6fb86b1d8797823966f1aeb41b303 (diff)
downloadpies-5468d4012f55f7332c7c7df6dabb4fa1e157a3b5.tar.gz
pies-5468d4012f55f7332c7c7df6dabb4fa1e157a3b5.tar.bz2
Fix reloading of the configuration files.
* lib/envop.c (environ_free): Free the env block itself. (envop_cmp): New function. * lib/envop.h (envop_cmp): New proto. * src/comp.c (argvcmp): Fix segmentation fault that occurred when both a and b were NULL. (component_match): Compare command, envop, and umask.
Diffstat (limited to 'lib/envop.h')
-rw-r--r--lib/envop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/envop.h b/lib/envop.h
index 6587b1a..2b4aad6 100644
--- a/lib/envop.h
+++ b/lib/envop.h
@@ -63,6 +63,7 @@ int envop_entry_add (envop_t **head,
int envop_exec (envop_t *op, environ_t *env);
void envop_free (envop_t *op);
+int envop_cmp (struct envop_entry *a, struct envop_entry *b);

Return to:

Send suggestions and report system problems to the System administrator.