[orc] Update subdir patch

Fabian Deutsch fabiand at fedoraproject.org
Sat Jan 7 21:38:30 UTC 2012


commit f716b1fc9993bd9ed85c357932c2e24002a44226
Author: Fabian Deutsch <fabian.deutsch at gmx.de>
Date:   Sat Jan 7 22:38:24 2012 +0100

    Update subdir patch
    
    Signed-off-by: Fabian Deutsch <fabian.deutsch at gmx.de>

 orc-subdir.patch |   32 +++++++++++++++++++++++++++++---
 1 files changed, 29 insertions(+), 3 deletions(-)
---
diff --git a/orc-subdir.patch b/orc-subdir.patch
index 2fff4f5..e026779 100644
--- a/orc-subdir.patch
+++ b/orc-subdir.patch
@@ -1,7 +1,7 @@
 From 30a9f48e8dd12f7b607d1dbc9a795f939208f5d6 Mon Sep 17 00:00:00 2001
 From: Fabian Deutsch <fabian.deutsch at gmx.de>
 Date: Tue, 4 Oct 2011 13:28:38 +0200
-Subject: [PATCH 1/3] Use a subdirectory for temporary files.
+Subject: [PATCH 1/4] Use a subdirectory for temporary files.
 
 This allows the a better integration with selinux, as the rule can use the path name and doesn't need globbing.
 
@@ -50,7 +50,7 @@ index f470be5..e125faa 100644
 From 2e35ab7bca7eef855b12eed26da9d543c8b225b6 Mon Sep 17 00:00:00 2001
 From: Fabian Deutsch <fabian.deutsch at gmx.de>
 Date: Sun, 1 Jan 2012 21:25:28 +0100
-Subject: [PATCH 2/3] orccodemem.c: Fix memory allocation and directory
+Subject: [PATCH 2/4] orccodemem.c: Fix memory allocation and directory
  existance.
 
 Noted in https://bugzilla.redhat.com/show_bug.cgi?id=770602
@@ -86,7 +86,7 @@ index e125faa..be76472 100644
 From 5a9009d4275fd40a0079a8bf44a7de31c2962bb0 Mon Sep 17 00:00:00 2001
 From: Fabian Deutsch <fabian.deutsch at gmx.de>
 Date: Sun, 1 Jan 2012 21:41:04 +0100
-Subject: [PATCH 3/3] Add compiler option for ENABLE_USER_CODEMEM.
+Subject: [PATCH 3/4] Add compiler option for ENABLE_USER_CODEMEM.
 
 This option disbales non-user-dependent path checking at compile time. If enabled, only paths corresponding to a user are checked.
 
@@ -148,3 +148,29 @@ index be76472..32c14f1 100644
 -- 
 1.7.7.5
 
+
+From 53f540b0856d0e5c03f3d65edcce8d909f204dd4 Mon Sep 17 00:00:00 2001
+From: Fabian Deutsch <fabian.deutsch at gmx.de>
+Date: Sat, 7 Jan 2012 22:37:08 +0100
+Subject: [PATCH 4/4] orccodemem: Fix a small leak.
+
+Signed-off-by: Fabian Deutsch <fabian.deutsch at gmx.de>
+---
+ orc/orccodemem.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/orc/orccodemem.c b/orc/orccodemem.c
+index 32c14f1..fc16ebc 100644
+--- a/orc/orccodemem.c
++++ b/orc/orccodemem.c
+@@ -227,6 +227,7 @@ orc_code_region_allocate_codemem_dual_map (OrcCodeRegion *region,
+   if (force_unlink || !_orc_compiler_flag_debug) {
+     unlink (filename);
+   }
++  free (dir);
+   free (filename);
+ 
+   n = ftruncate (fd, SIZE);
+-- 
+1.7.7.5
+


More information about the scm-commits mailing list