From c9863193a6656e866d5ec3177b7c2efdb73af6aa Mon Sep 17 00:00:00 2001 From: John Mylchreest Date: Sun, 9 Apr 2006 16:30:53 +0000 Subject: bump to 2.1.9 (Portage version: 2.1_pre7-r4) --- .../gradm_2.1.9.200602141850-fix-define-order.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sys-apps/gradm/files/gradm_2.1.9.200602141850-fix-define-order.patch (limited to 'sys-apps/gradm/files/gradm_2.1.9.200602141850-fix-define-order.patch') diff --git a/sys-apps/gradm/files/gradm_2.1.9.200602141850-fix-define-order.patch b/sys-apps/gradm/files/gradm_2.1.9.200602141850-fix-define-order.patch new file mode 100644 index 000000000000..c64466fb130d --- /dev/null +++ b/sys-apps/gradm/files/gradm_2.1.9.200602141850-fix-define-order.patch @@ -0,0 +1,17 @@ +--- gradm2/gradm_sym.c 2004/12/15 21:21:50 1.8 ++++ gradm2/gradm_sym.c 2006/03/13 23:07:49 1.9 +@@ -10,8 +10,12 @@ static unsigned int symtab_size = 0; + + void interpret_variable(struct var_object *var) + { +- for (; var; var = var->prev) { +- add_proc_object_acl(current_subject, var->filename, var->mode, GR_FEXIST); ++ struct var_object *tmp; ++ for (tmp = var; tmp->prev; tmp = tmp->prev) ++ ; ++ ++ for (; tmp; tmp = tmp->next) { ++ add_proc_object_acl(current_subject, tmp->filename, tmp->mode, GR_FEXIST); + } + + return; -- cgit v1.2.3-65-gdbad