Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
J
jfx_kalman_filter_src
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oscar
jfx_kalman_filter_src
Commits
e35adcc4
Commit
e35adcc4
authored
Dec 01, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改打开文件的方式为累加写入。
parent
e5142c03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
jfx_log.cpp
log/jfx_log.cpp
+2
-2
No files found.
log/jfx_log.cpp
View file @
e35adcc4
...
...
@@ -73,9 +73,9 @@ int AddLogFileSys(const char* file, int& fileIdx)
std
::
string
dir
=
name
;
LOG
(
INFO
)
<<
"AddLogFileSys save file = "
<<
dir
;
#ifdef _WIN32
if
(
fopen_s
(
&
g_file
,
dir
.
c_str
(),
"
w
t+"
)
!=
0
)
if
(
fopen_s
(
&
g_file
,
dir
.
c_str
(),
"
a
t+"
)
!=
0
)
#else
if
(
nullptr
==
(
g_file
=
fopen
(
dir
.
c_str
(),
"
w
t+"
)))
if
(
nullptr
==
(
g_file
=
fopen
(
dir
.
c_str
(),
"
a
t+"
)))
#endif
{
g_file
=
nullptr
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment