SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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"));}