diff options
Diffstat (limited to 'trunk/src/execstack.c')
-rw-r--r-- | trunk/src/execstack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/trunk/src/execstack.c b/trunk/src/execstack.c index 28ca9c8..b75c5bd 100644 --- a/trunk/src/execstack.c +++ b/trunk/src/execstack.c @@ -198,6 +198,7 @@ execstack_make_rdwr (DSO *dso, int flag) p = NULL; wrap_unlink (filename); + fsync (fd); close (fd); fd = -1; close_dso (dso); @@ -210,6 +211,7 @@ error_out: if (fd != -1) { wrap_unlink (filename); + fsync (fd); close (fd); } close_dso (dso); |