Mercurial > gub
changeset 5521:dfb61198e378
restrict.c: LIBRESTRICT_IGNORE bugfix. Enables ignoring more than one exe.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Fri, 21 Aug 2009 00:53:31 +0200 |
parents | ed247d070add |
children | b685562acfe2 |
files | librestrict/restrict.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/librestrict/restrict.c Fri Aug 21 00:53:01 2009 +0200 +++ b/librestrict/restrict.c Fri Aug 21 00:53:31 2009 +0200 @@ -67,7 +67,7 @@ int len = strlen (name); while (p) { - if (p - path == len && !strncmp (p, name, len)) + if (p - path == len && !strncmp (path, name, len)) return 1; path = p + 1; p = strchr (path, ':');