зеркало из https://github.com/mozilla/pjs.git
Fix bug 90228: Signtool not picking up hidden (dot) files when performing
signing. Don't skip files that start with "." and "#".
This commit is contained in:
Родитель
0b866a56fa
Коммит
a1b17e0243
|
@ -352,8 +352,12 @@ foreach(char *dirname, char *prefix,
|
|||
if (!dir) return -1;
|
||||
|
||||
for (entry = PR_ReadDir (dir,0); entry; entry = PR_ReadDir (dir,0)) {
|
||||
if (*entry->name == '.' || *entry->name == '#')
|
||||
continue;
|
||||
if ( strcmp(entry->name, ".")==0 ||
|
||||
strcmp(entry->name, "..")==0 )
|
||||
{
|
||||
/* no infinite recursion, please */
|
||||
continue;
|
||||
}
|
||||
|
||||
/* can't sign self */
|
||||
if (!strcmp (entry->name, "META-INF"))
|
||||
|
|
Загрузка…
Ссылка в новой задаче