icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -1958,21 +1958,22 @@ nsLocalFile::IsExecutable(bool* aResult) {
|
|||
// Search for any of the set of executable extensions.
|
||||
static const char* const executableExts[] = {
|
||||
#ifdef MOZ_WIDGET_COCOA
|
||||
"afploc", // Can point to other files.
|
||||
".afploc", // Can point to other files.
|
||||
#endif
|
||||
"air", // Adobe AIR installer
|
||||
".air", // Adobe AIR installer
|
||||
#ifdef MOZ_WIDGET_COCOA
|
||||
"atloc", // Can point to other files.
|
||||
"fileloc", // File location files can be used to point to other
|
||||
// files.
|
||||
"ftploc", // Can point to other files.
|
||||
"inetloc", // Shouldn't be able to do the same, but can, due to
|
||||
// macOS vulnerabilities.
|
||||
"terminal", // macOS Terminal app configuration files
|
||||
".atloc", // Can point to other files.
|
||||
".command", // Mac script
|
||||
".fileloc", // File location files can be used to point to other
|
||||
// files.
|
||||
".ftploc", // Can point to other files.
|
||||
".inetloc", // Shouldn't be able to do the same, but can, due to
|
||||
// macOS vulnerabilities.
|
||||
".terminal", // macOS Terminal app configuration files
|
||||
#endif
|
||||
"jar" // java application bundle
|
||||
".jar" // java application bundle
|
||||
};
|
||||
nsDependentSubstring ext = Substring(path, dotIdx + 1);
|
||||
nsDependentSubstring ext = Substring(path, dotIdx);
|
||||
for (auto executableExt : executableExts) {
|
||||
if (ext.EqualsASCII(executableExt)) {
|
||||
// Found a match. Set result and quit.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue