[PATCH] Fix .spec file flag recognition.

max at mtew.isa-geek.net max at mtew.isa-geek.net
Tue Mar 8 17:29:02 CST 2011


From: Max TenEyck Woodbury <max at mtew.isa-geek.net>

---
 tools/c2man.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/c2man.pl b/tools/c2man.pl
index db9f25f..868e4fc 100755
--- a/tools/c2man.pl
+++ b/tools/c2man.pl
@@ -152,7 +152,7 @@ sub process_spec_file($)
     {
       $flags |= $FLAG_REGISTER;
     }
-    s/ \-[a-z0-9]+//g;   # Strip flags
+    s/ \-[a-z0-9=_]+//g;   # Strip flags
 
     if( /^(([0-9]+)|@) / )
     {
-- 
1.7.4




More information about the wine-patches mailing list