Sync executable extension list w/Outlook (bug 348763) r/sr=dougt, a=pavlov

This commit is contained in:
dveditz@cruzio.com
2006-11-30 04:36:21 +00:00
parent 8c3da0c020
commit 9b51f12e06

View File

@@ -2268,7 +2268,10 @@ nsLocalFile::IsExecutable(PRBool *_retval)
// Search for any of the set of executable extensions. // Search for any of the set of executable extensions.
const char * const executableExts[] = { const char * const executableExts[] = {
"ad", "ad",
"ade", // access project extension
"adp", "adp",
"app", // executable application
"application", // from bug 348763
"asp", "asp",
"bas", "bas",
"bat", "bat",
@@ -2278,6 +2281,7 @@ nsLocalFile::IsExecutable(PRBool *_retval)
"cpl", "cpl",
"crt", "crt",
"exe", "exe",
"fxp", // FoxPro compiled app
"hlp", "hlp",
"hta", "hta",
"inf", "inf",
@@ -2286,15 +2290,38 @@ nsLocalFile::IsExecutable(PRBool *_retval)
"js", "js",
"jse", "jse",
"lnk", "lnk",
"mad", // Access Module Shortcut
"maf", // Access
"mag", // Access Diagram Shortcut
"mam", // Access Macro Shortcut
"maq", // Access Query Shortcut
"mar", // Access Report Shortcut
"mas", // Access Stored Procedure
"mat", // Access Table Shortcut
"mau", // Media Attachment Unit
"mav", // Access View Shortcut
"maw", // Access Data Access Page
"mda", // Access Add-in, MDA Access 2 Workgroup
"mdb", "mdb",
"mde", "mde",
"mdt", // Access Add-in Data
"mdw", // Access Workgroup Information
"mdz", // Access Wizard Template
"msc", "msc",
"msh", // Microsoft Shell
"mshxml", // Microsoft Shell
"msi", "msi",
"msp", "msp",
"mst", "mst",
"ops", // Office Profile Settings
"pcd", "pcd",
"pif", "pif",
"plg", // Developer Studio Build Log
"prf", // windows system file
"prg",
"pst",
"reg", "reg",
"scf", // Windows explorer command
"scr", "scr",
"sct", "sct",
"shb", "shb",
@@ -2304,6 +2331,7 @@ nsLocalFile::IsExecutable(PRBool *_retval)
"vbe", "vbe",
"vbs", "vbs",
"vsd", "vsd",
"vsmacros", // Visual Studio .NET Binary-based Macro Project
"vss", "vss",
"vst", "vst",
"vsw", "vsw",