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
b78cd17b
Commit
b78cd17b
authored
Apr 17, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix
parent
7d582610
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
src/exe/rt_bck/src/rt_bck.c
src/exe/rt_bck/src/rt_bck.c
+6
-4
No files found.
src/exe/rt_bck/src/rt_bck.c
View file @
b78cd17b
/*
* Proview $Id: rt_bck.c,v 1.1
3 2008-04-16 08:34:04
claes Exp $
* Proview $Id: rt_bck.c,v 1.1
4 2008-04-17 14:57:39
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -697,8 +697,6 @@ bck_file_process (
perror
(
"BACKUP cannot create backupfile"
);
else
{
fd
=
fileno
(
bckfile
);
errh_Info
(
"BACKUP created new backupfile %s"
,
FGETNAME
);
memset
(
&
filehead
,
0
,
sizeof
filehead
);
clock_gettime
(
CLOCK_REALTIME
,
&
filehead
.
creationtime
);
...
...
@@ -721,6 +719,8 @@ bck_file_process (
backup_confp
->
DiskStatus
=
0
;
fd
=
fileno
(
bckfile
);
while
(
TRUE
)
{
/* Wait for work and fetch the writeblock information */
...
...
@@ -1160,6 +1160,7 @@ void bck_list_free (
blep
=
list
->
first
;
while
(
blep
!=
NULL
)
{
blep2
=
blep
->
next
;
// printf("%s\n", blep->datablk.name);
free
(
blep
->
datablk
.
name
);
free
(
blep
);
blep
=
blep2
;
...
...
@@ -1273,7 +1274,8 @@ void *bck_coll_process (
/* If forced activation or slow cycle tick: rebuild the backup list */
if
(
forced
||
(
slowtick
!=
oldslowtick
))
{
// if ((forced || (slowtick != oldslowtick)) && (cycle == 1)) {
if
(
FALSE
)
{
oldslowtick
=
slowtick
;
bck_list_free
(
bcklist
);
bck_list_build
(
cycle
,
&
bcklist
);
...
...
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