System.Data.SQLite
Check-in [61d5e43af1]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:More portability work on the native library preloader.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | netStandard20
Files: files | file ages | folders
SHA1:61d5e43af13972c60495fc8de46e66a05b2e399d
User & Date: mistachkin 2018-04-06 17:10:07
Context
2018-04-06
18:29
Fix comment. check-in: 695e80e91f user: mistachkin tags: netStandard20
17:10
More portability work on the native library preloader. check-in: 61d5e43af1 user: mistachkin tags: netStandard20
16:32
Attempt to fix an issue with the native library pre-loader when running on .NET Core under POSIX. check-in: a3c8ee12fc user: mistachkin tags: netStandard20
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to System.Data.SQLite/UnsafeNativeMethods.cs.

2388
2389
2390
2391
2392
2393
2394
2395




2396
2397
2398
2399
2400
2401
2402
              GetAssemblyDirectory(),
#if !PLATFORM_COMPACTFRAMEWORK
              AppDomain.CurrentDomain.BaseDirectory,
#endif
          };

          string[] subDirectories = {
              GetProcessorArchitecture(), GetPlatformName(null)




          };

          foreach (string directory in directories)
          {
              if (directory == null)
                  continue;








|
>
>
>
>







2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
              GetAssemblyDirectory(),
#if !PLATFORM_COMPACTFRAMEWORK
              AppDomain.CurrentDomain.BaseDirectory,
#endif
          };

          string[] subDirectories = {
              GetProcessorArchitecture(), /* e.g. "x86" */
              GetPlatformName(null),      /* e.g. "Win32" */
#if NET_STANDARD_20 && !WINDOWS           /* .NET Core on POSIX */
              String.Empty,               /* e.g. base directory only */
#endif
          };

          foreach (string directory in directories)
          {
              if (directory == null)
                  continue;