Fix ragel-d,ragel-go,ragel-java such command segfault error

This commit is contained in:
si-gui 2020-09-21 21:14:59 +08:00
parent bbc8452b2d
commit 50d18a9505
2 changed files with 4 additions and 4 deletions

View File

@ -8,10 +8,10 @@ Signed-off-by: si-gui <245140120@qq.com>
src/inputdata.cc | 14 ++++++++++++-- src/inputdata.cc | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-) 1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/ragel-7.0.0.12/src/inputdata.cc b/ragel-7.0.0.12/src/inputdata.cc diff --git a/src/inputdata.cc b/src/inputdata.cc
index 8a6de8b..e6d4f73 100644 index 8a6de8b..e6d4f73 100644
--- a/ragel-7.0.0.12/src/inputdata.cc --- a/src/inputdata.cc
+++ b/ragel-7.0.0.12/src/inputdata.cc +++ b/src/inputdata.cc
@@ -1105,9 +1105,19 @@ void InputData::wait( const char *what, pid_t pid ) @@ -1105,9 +1105,19 @@ void InputData::wait( const char *what, pid_t pid )
int InputData::rlhcMain( int argc, const char **argv ) int InputData::rlhcMain( int argc, const char **argv )
{ {

View File

@ -41,7 +41,7 @@ Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%{summary}. %{summary}.
%prep %prep
%autosetup %autosetup -p1
# Do not pollute with docs # Do not pollute with docs
sed -i -e "/dist_doc_DATA/d" Makefile.am sed -i -e "/dist_doc_DATA/d" Makefile.am