[banshee/grid] [DllMapVerifier] willfully unmapped flexibility
- From: Aaron Bockover <abock src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee/grid] [DllMapVerifier] willfully unmapped flexibility
- Date: Fri, 22 Jan 2010 03:16:46 +0000 (UTC)
commit af10c66079b8ee9d277cecda58d544cc65698615
Author: Aaron Bockover <abockover novell com>
Date: Thu Jan 21 20:42:21 2010 -0500
[DllMapVerifier] willfully unmapped flexibility
By that I mean, allow the magic comment to also live outside
the ()s, but still inside the []s of the attribute decl.
build/DllMapVerifier.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/build/DllMapVerifier.cs b/build/DllMapVerifier.cs
index 3b2be47..a4b2831 100644
--- a/build/DllMapVerifier.cs
+++ b/build/DllMapVerifier.cs
@@ -63,7 +63,7 @@ public static class DllMapVerifier
Console.Error.WriteLine (" If any DllImport above is explicitly allowed to be unmapped,");
Console.Error.WriteLine (" add an 'willfully unmapped' comment to the inside of the attribute:");
Console.Error.WriteLine ();
- Console.Error.WriteLine (" [DllImport (\"libX11.so.6\" /* willfully unmapped */)]");
+ Console.Error.WriteLine (" [DllImport (\"libX11.so.6\") /* willfully unmapped */]");
Console.Error.WriteLine ();
}
@@ -166,7 +166,7 @@ public static class DllMapVerifier
Read ();
if ((char)reader.Peek () == '*') {
Read ();
- if (in_dll_attr && in_paren && !in_comment) {
+ if (in_dll_attr && !in_comment) {
in_comment = true;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]