Max TenEyck Woodbury : c2man: Fix .spec file flag recognition.

Alexandre Julliard julliard at winehq.org
Wed Mar 9 11:12:49 CST 2011


Module: wine
Branch: master
Commit: 3d6ae97aa3e607793bca6ab3cef433c9ec00d40a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3d6ae97aa3e607793bca6ab3cef433c9ec00d40a

Author: Max TenEyck Woodbury <max at mtew.isa-geek.net>
Date:   Tue Mar  8 18:29:02 2011 -0500

c2man: Fix .spec file flag recognition.

---

 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]+)|@) / )
     {




More information about the wine-cvs mailing list