Code Review
/
com
/
gs-lite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Change lfta code generation form C to C++
[com/gs-lite.git]
/
src
/
lib
/
gscprts
/
rts_gdat.c
diff --git
a/src/lib/gscprts/rts_gdat.c
b/src/lib/gscprts/rts_gdat.c
index
7cd4afe
..
62f6372
100644
(file)
--- a/
src/lib/gscprts/rts_gdat.c
+++ b/
src/lib/gscprts/rts_gdat.c
@@
-248,15
+248,18
@@
static void next_file() {
static gs_retval_t gdat_replay_init(gs_sp_t device)
{
static gs_retval_t gdat_replay_init(gs_sp_t device)
{
- gs_sp_t verbosetmp;
- gs_sp_t delaytmp;
- gs_sp_t gshubtmp;
- gs_sp_t singlefiletmp;
+ gs_
c
sp_t verbosetmp;
+ gs_
c
sp_t delaytmp;
+ gs_
c
sp_t gshubtmp;
+ gs_
c
sp_t singlefiletmp;
- if ((name=get_iface_properties(device,"filename"))==0) {
+ gs_csp_t tmp_name;
+
+ if ((tmp_name=get_iface_properties(device,"filename"))==0) {
print_error("csv_init::No GDAT \"Filename\" defined");
exit(0);
}
print_error("csv_init::No GDAT \"Filename\" defined");
exit(0);
}
+ name = strdup(tmp_name);
if ((verbosetmp=get_iface_properties(device,"verbose"))!=0) {
if (strncmp(verbosetmp,"TRUE",4)==0) {
if ((verbosetmp=get_iface_properties(device,"verbose"))!=0) {
if (strncmp(verbosetmp,"TRUE",4)==0) {