You've already forked linux-packaging-mono
Imported Upstream version 5.14.0.93
Former-commit-id: dda284b8de49fb65cd1a403db6a592e6c68a5e8c
This commit is contained in:
parent
fb453ffa72
commit
300ff421ef
@ -6,6 +6,8 @@ using System.Text;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
using Mono;
|
||||
|
||||
namespace System.IO {
|
||||
|
||||
class LogcatTextWriter : TextWriter {
|
||||
@ -74,8 +76,8 @@ namespace System.IO {
|
||||
}
|
||||
}
|
||||
|
||||
fixed (byte *b_message = Encoding.UTF8.GetBytes(message + '\0')) {
|
||||
Log (b_message);
|
||||
using (SafeStringMarshal str = new SafeStringMarshal(message)) {
|
||||
Log ((byte*) str.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user