Mercurial > trustbridge
diff cinst/mozilla.c @ 195:90cf655a4112
Ignore parent ("..") on directory scan.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Wed, 26 Mar 2014 11:35:46 +0100 |
parents | d4e97c9b199f |
children | 5d380b662198 |
line wrap: on
line diff
--- a/cinst/mozilla.c Wed Mar 26 11:25:03 2014 +0100 +++ b/cinst/mozilla.c Wed Mar 26 11:35:46 2014 +0100 @@ -223,7 +223,8 @@ confbase, mozdirname, mozdirent->d_name); - if (port_isdir(path)) + if (port_isdir(path) + && (strcmp(mozdirent->d_name, "..") != 0)) { snprintf(path, LINEBUFLEN, "%s/%s/%s/%s", confbase,