Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
64728c36
Commit
64728c36
authored
Nov 11, 2019
by
Claes Sjofors
Committed by
Claes Sjöfors
Mar 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NMps backup, 64-bit fix for file position
parent
241bb8ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
nmps/exe/rs_nmps_bck/src/rs_nmps_bck.c
nmps/exe/rs_nmps_bck/src/rs_nmps_bck.c
+3
-3
No files found.
nmps/exe/rs_nmps_bck/src/rs_nmps_bck.c
View file @
64728c36
...
@@ -1184,7 +1184,7 @@ static pwr_tStatus nmpsbck_write(bck_ctx bckctx)
...
@@ -1184,7 +1184,7 @@ static pwr_tStatus nmpsbck_write(bck_ctx bckctx)
pwr_tStatus
sts
;
pwr_tStatus
sts
;
nmpsbck_t_recordheader
recordheader
;
nmpsbck_t_recordheader
recordheader
;
pwr_tUInt32
csts
;
pwr_tUInt32
csts
;
pwr_tUInt32
actpos
;
long
int
actpos
;
FILE
*
bckfile
;
FILE
*
bckfile
;
if
(
!
bckctx
->
bckconfig
->
BackupOn
)
if
(
!
bckctx
->
bckconfig
->
BackupOn
)
...
@@ -1320,7 +1320,7 @@ static pwr_tStatus nmpsbck_check_file(bck_ctx bckctx, FILE* bckfile,
...
@@ -1320,7 +1320,7 @@ static pwr_tStatus nmpsbck_check_file(bck_ctx bckctx, FILE* bckfile,
nmpsbck_t_cellheader
cellheader
;
nmpsbck_t_cellheader
cellheader
;
nmpsbck_t_dataheader
dataheader
;
nmpsbck_t_dataheader
dataheader
;
pwr_tUInt32
csts
;
pwr_tUInt32
csts
;
pwr_tUInt32
actpos
;
long
int
actpos
;
int
cell_read_success
;
int
cell_read_success
;
int
data_read_success
;
int
data_read_success
;
...
@@ -1460,7 +1460,7 @@ static pwr_tStatus nmpsbck_read(bck_ctx bckctx, char* backupfile)
...
@@ -1460,7 +1460,7 @@ static pwr_tStatus nmpsbck_read(bck_ctx bckctx, char* backupfile)
FILE
*
bckfile1
;
FILE
*
bckfile1
;
FILE
*
bckfile2
;
FILE
*
bckfile2
;
pwr_tUInt32
csts
;
pwr_tUInt32
csts
;
pwr_tUInt32
actpos
;
long
int
actpos
;
int
k
;
int
k
;
char
*
databuff
=
0
;
char
*
databuff
=
0
;
int
databuff_size
=
0
;
int
databuff_size
=
0
;
...
...
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