diff options
author | John Mylchreest <johnm@gentoo.org> | 2006-04-09 16:30:53 +0000 |
---|---|---|
committer | John Mylchreest <johnm@gentoo.org> | 2006-04-09 16:30:53 +0000 |
commit | c9863193a6656e866d5ec3177b7c2efdb73af6aa (patch) | |
tree | ff02ea436e2f9ebcc90b46772ad1af831e67ad07 /sys-apps/gradm/files/gradm_2.1.9.200602141850-fix-define-order.patch | |
parent | Stable on ppc64 (diff) | |
download | gentoo-2-c9863193a6656e866d5ec3177b7c2efdb73af6aa.tar.gz gentoo-2-c9863193a6656e866d5ec3177b7c2efdb73af6aa.tar.bz2 gentoo-2-c9863193a6656e866d5ec3177b7c2efdb73af6aa.zip |
bump to 2.1.9
(Portage version: 2.1_pre7-r4)
Diffstat (limited to 'sys-apps/gradm/files/gradm_2.1.9.200602141850-fix-define-order.patch')
-rw-r--r-- | sys-apps/gradm/files/gradm_2.1.9.200602141850-fix-define-order.patch | 17 |
1 files changed, 17 insertions, 0 deletions
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; |