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
11fc7368
Commit
11fc7368
authored
May 28, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Env variables allowed in filename
parent
0207aeed
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
nmps/exe/rs_nmps_bck/src/rs_nmps_bck.c
nmps/exe/rs_nmps_bck/src/rs_nmps_bck.c
+4
-4
remote/exe/rs_remote_logg/src/rs_remote_logg.c
remote/exe/rs_remote_logg/src/rs_remote_logg.c
+5
-4
No files found.
nmps/exe/rs_nmps_bck/src/rs_nmps_bck.c
View file @
11fc7368
/*
* Proview $Id: rs_nmps_bck.c,v 1.
5 2006-01-12 05:57:42
claes Exp $
* Proview $Id: rs_nmps_bck.c,v 1.
6 2007-05-28 11:38:10
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -275,7 +275,7 @@ int nmpsbck_get_filename(
char
*
s
;
char
*
s2
;
strcpy
(
outname
,
inname
);
dcli_translate_filename
(
outname
,
inname
);
/* Look for extention in filename */
if
(
ext
!=
NULL
)
...
...
@@ -1104,7 +1104,7 @@ static pwr_tStatus nmpsbck_open_file( bck_ctx bckctx)
{
nmpsbck_t_fileheader
fileheader
;
pwr_tUInt32
csts
;
char
filename
[
200
]
;
pwr_tFileName
filename
;
float
reopen_time
=
10
;
int
first_time
;
int
wait_some_time
;
...
...
@@ -1567,7 +1567,7 @@ static pwr_tStatus nmpsbck_read( bck_ctx bckctx)
nmpsbck_t_data_list
*
data_ptr
;
nmpsbck_t_data_list
*
next_ptr
;
char
*
objectp
;
char
filename
[
200
]
;
pwr_tFileName
filename
;
int
file_num
=
1
;
int
record_count
;
pwr_tUInt32
cellarea_start
[
NMPSBCK_MAX_RECORDS
];
...
...
remote/exe/rs_remote_logg/src/rs_remote_logg.c
View file @
11fc7368
/*
* Proview $Id: rs_remote_logg.c,v 1.
1 2006-01-12 06:39
:33 claes Exp $
* Proview $Id: rs_remote_logg.c,v 1.
2 2007-05-28 11:37
:33 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -80,6 +80,7 @@
#include "pwr_baseclasses.h"
#include "pwr_remoteclasses.h"
#include "co_time.h"
#include "co_dcli.h"
#include "rt_gdh.h"
#include "rt_errh.h"
#include "rt_gdh_msg.h"
...
...
@@ -293,13 +294,13 @@ static int logg_get_filename(
{
char
*
s
;
char
*
s2
;
char
timestr
[
80
]
;
pwr_tFileName
timestr
;
char
comp_timestr
[
80
];
pwr_tTime
time
;
strcpy
(
outname
,
inname
);
dcli_translate_filename
(
outname
,
inname
);
/* Look for exten
t
ion in filename */
/* Look for exten
s
ion in filename */
if
(
ext
!=
NULL
)
{
s
=
strrchr
(
outname
,
':'
);
...
...
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