You've already forked linux-packaging-mono
Imported Upstream version 6.10.0.101
Former-commit-id: 83a210db4e58bb87425f179b210ee9c1914ac787
This commit is contained in:
parent
ce8084efdb
commit
90df1c4a6a
700
external/bdwgc/autom4te.cache/requests
vendored
700
external/bdwgc/autom4te.cache/requests
vendored
File diff suppressed because it is too large
Load Diff
8
external/bdwgc/config.log
vendored
8
external/bdwgc/config.log
vendored
@@ -10,11 +10,11 @@ generated by GNU Autoconf 2.69. Invocation command line was
|
||||
## Platform. ##
|
||||
## --------- ##
|
||||
|
||||
hostname = az-ubuntu-general1958b0
|
||||
hostname = az-ubuntu-generalb689d0
|
||||
uname -m = x86_64
|
||||
uname -r = 4.15.0-1071-azure
|
||||
uname -r = 4.15.0-1075-azure
|
||||
uname -s = Linux
|
||||
uname -v = #76-Ubuntu SMP Wed Feb 12 03:02:44 UTC 2020
|
||||
uname -v = #80-Ubuntu SMP Wed Mar 18 13:27:16 UTC 2020
|
||||
|
||||
/usr/bin/uname -p = unknown
|
||||
/bin/uname -X = unknown
|
||||
@@ -747,7 +747,7 @@ generated by GNU Autoconf 2.69. Invocation command line was
|
||||
CONFIG_COMMANDS =
|
||||
$ ./config.status
|
||||
|
||||
on az-ubuntu-general1958b0
|
||||
on az-ubuntu-generalb689d0
|
||||
|
||||
config.status:1238: creating Makefile
|
||||
config.status:1238: creating bdw-gc.pc
|
||||
|
2
external/bdwgc/libtool.REMOVED.git-id
vendored
2
external/bdwgc/libtool.REMOVED.git-id
vendored
@@ -1 +1 @@
|
||||
667b39ef8fe65d14bf9f50207f4cb4fd6120026d
|
||||
abae4b1e0e194e32e1b1b62dbeefb289666203c5
|
2
external/bockbuild/bockbuild/unixprofile.py
vendored
2
external/bockbuild/bockbuild/unixprofile.py
vendored
@@ -24,7 +24,7 @@ class UnixProfile (Profile):
|
||||
'%{staged_prefix}/bin',
|
||||
'/usr/bin',
|
||||
'/bin',
|
||||
'/usr/local/git/bin')
|
||||
'/usr/local/bin')
|
||||
|
||||
self.env.set('C_INCLUDE_PATH', '%{staged_prefix}/include')
|
||||
|
||||
|
@@ -22,7 +22,7 @@ namespace System.IO.Tests
|
||||
[PlatformSpecific(TestPlatforms.AnyUnix)] // Expected WatcherChangeTypes are different based on OS
|
||||
public void Unix_File_Move_To_Same_Directory()
|
||||
{
|
||||
FileMove_SameDirectory(WatcherChangeTypes.Created | WatcherChangeTypes.Deleted);
|
||||
FileMove_SameDirectory(WatcherChangeTypes.Renamed);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -73,7 +73,7 @@ namespace System.IO.Tests
|
||||
[PlatformSpecific(TestPlatforms.OSX)] // Expected WatcherChangeTypes are different based on OS
|
||||
public void OSX_File_Move_To_Different_Watched_Directory()
|
||||
{
|
||||
FileMove_DifferentWatchedDirectory(WatcherChangeTypes.Changed);
|
||||
FileMove_DifferentWatchedDirectory(0);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -104,7 +104,7 @@ namespace System.IO.Tests
|
||||
[PlatformSpecific(TestPlatforms.AnyUnix)] // Expected WatcherChangeTypes are different based on OS
|
||||
public void Unix_File_Move_In_Nested_Directory(bool includeSubdirectories)
|
||||
{
|
||||
FileMove_NestedDirectory(includeSubdirectories ? WatcherChangeTypes.Created | WatcherChangeTypes.Deleted : 0, includeSubdirectories);
|
||||
FileMove_NestedDirectory(includeSubdirectories ? WatcherChangeTypes.Renamed : 0, includeSubdirectories);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -118,7 +118,7 @@ namespace System.IO.Tests
|
||||
[PlatformSpecific(TestPlatforms.AnyUnix)] // Expected WatcherChangeTypes are different based on OS
|
||||
public void Unix_File_Move_With_Set_NotifyFilter()
|
||||
{
|
||||
FileMove_WithNotifyFilter(WatcherChangeTypes.Deleted);
|
||||
FileMove_WithNotifyFilter(WatcherChangeTypes.Renamed);
|
||||
}
|
||||
|
||||
#region Test Helpers
|
||||
|
@@ -160,18 +160,19 @@ namespace System.IO
|
||||
{
|
||||
// The desired behavior for Move(source, dest) is to not overwrite the destination file
|
||||
// if it exists. Since rename(source, dest) will replace the file at 'dest' if it exists,
|
||||
// link/unlink are used instead. However, if the source path and the dest path refer to
|
||||
// the same file, then do a rename rather than a link and an unlink. This is important
|
||||
// for case-insensitive file systems (e.g. renaming a file in a way that just changes casing),
|
||||
// so that we support changing the casing in the naming of the file. If this fails in any
|
||||
// way (e.g. source file doesn't exist, dest file doesn't exist, rename fails, etc.), we
|
||||
// just fall back to trying the link/unlink approach and generating any exceptional messages
|
||||
// from there as necessary.
|
||||
// link/unlink are used instead. Rename is more efficient than link/unlink on file systems
|
||||
// where hard links are not supported (such as FAT). Therefore, given that source file exists,
|
||||
// rename is used in 2 cases: when dest file does not exist or when source path and dest
|
||||
// path refer to the same file (on the same device). This is important for case-insensitive
|
||||
// file systems (e.g. renaming a file in a way that just changes casing), so that we support
|
||||
// changing the casing in the naming of the file. If this fails in any way (e.g. source file
|
||||
// doesn't exist, dest file doesn't exist, rename fails, etc.), we just fall back to trying the
|
||||
// link/unlink approach and generating any exceptional messages from there as necessary.
|
||||
Interop.Sys.FileStatus sourceStat, destStat;
|
||||
if (Interop.Sys.LStat(sourceFullPath, out sourceStat) == 0 && // source file exists
|
||||
Interop.Sys.LStat(destFullPath, out destStat) == 0 && // dest file exists
|
||||
sourceStat.Dev == destStat.Dev && // source and dest are on the same device
|
||||
sourceStat.Ino == destStat.Ino && // and source and dest are the same file on that device
|
||||
(Interop.Sys.LStat(destFullPath, out destStat) != 0 || // dest file does not exist
|
||||
(sourceStat.Dev == destStat.Dev && // source and dest are on the same device
|
||||
sourceStat.Ino == destStat.Ino)) && // source and dest are the same file on that device
|
||||
Interop.Sys.Rename(sourceFullPath, destFullPath) == 0) // try the rename
|
||||
{
|
||||
// Renamed successfully.
|
||||
|
Reference in New Issue
Block a user