RTFGenerator should exit with 0 when gengrate file success

This commit is contained in:
wangchen2020 2021-05-11 16:55:54 +08:00
parent 50a6ae56b3
commit 4f2444a059
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From c23a12be8a23b9de7f6e78236cf1b571213cb5f9 Mon Sep 17 00:00:00 2001
From: si-gui <swx458333@huawei.com>
Date: Mon, 12 Apr 2021 16:42:28 +0800
Subject: [PATCH] RTFGenerator should exit with 0 when gengrate file success
---
src/doxygen.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 6163e81..31f6886 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -9974,7 +9974,7 @@ void readConfiguration(int argc, char **argv)
RTFGenerator::writeStyleSheetFile(f);
}
cleanUpDoxygen();
- exit(1);
+ exit(0);
}
else if (qstricmp(formatName,"html")==0)
{
--
2.30.0

View File

@ -3,7 +3,7 @@
Name: doxygen
Epoch: 1
Version: 1.8.18
Release: 7
Release: 8
Summary: A documentation system for C/C++
License: GPL+
Url: http://www.doxygen.nl
@ -13,6 +13,7 @@ Source1: doxywizard.desktop
Patch6000: ef6cc2b1b3b70fba03e994e7a61926c8e2958867.patch
Patch6001: backport-Incorrect-label-in-map-of-dot-files-in-xhtml.patch
Patch6002: backport-Incorrect-label-name-in-case-regeneration-of-HTML-without_regeneration_of_dot_files.patch
Patch6003: RTFGenerator-should-exit-with-0-when-gengrate-file-s.patch
BuildRequires: python3 ImageMagick gcc-c++ gcc perl-interpreter
BuildRequires: tex(dvips) tex(latex) tex(multirow.sty) tex(sectsty.sty) tex(tocloft.sty)
@ -97,6 +98,9 @@ make tests -C %{BuildDir}
%{_datadir}/icons/hicolor/*/apps/doxywizard.png
%changelog
* Tue May 11 2021 wangchen<wangchen137@huawei.com> - 1.8.18-8
- RTFGenerator should exit with 0 when gengrate file success
* Tue Jan 05 2020 shixuantong<shixuantong@huawei.com> - 1.8.18-7
- fix incorrect label in map of dot files in xhtml