SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
cad/gnucap/patches/patch-src_ap_h
Normal file
13
cad/gnucap/patches/patch-src_ap_h
Normal file
|
@ -0,0 +1,13 @@
|
|||
Index: src/ap.h
|
||||
--- src/ap.h.orig
|
||||
+++ src/ap.h
|
||||
@@ -103,7 +103,8 @@ class CS { (public)
|
||||
bool match1(char c)const{return (peek()==c);}
|
||||
bool match1(const std::string& c)const
|
||||
{return ns_more() && strchr(c.c_str(),peek());}
|
||||
- int find1(const std::string& c)const
|
||||
+ std::string::size_type
|
||||
+ find1(const std::string& c)const
|
||||
{return ((ns_more()) ? c.find_first_of(peek()) : std::string::npos);}
|
||||
bool is_xdigit()const
|
||||
{untested(); return (match1("0123456789abcdefABCDEF"));}
|
Loading…
Add table
Add a link
Reference in a new issue