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
fce47c7e
Commit
fce47c7e
authored
Nov 10, 2009
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow uppercase letters in project path
parent
902f673b
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
23 deletions
+21
-23
src/exe/rt_ini/src/ini.c
src/exe/rt_ini/src/ini.c
+17
-17
src/lib/co/src/co_dcli_file.c
src/lib/co/src/co_dcli_file.c
+1
-1
wb/lib/wb/src/wb_dbs.cpp
wb/lib/wb/src/wb_dbs.cpp
+1
-3
xtt/lib/xtt/src/xtt_ge.cpp
xtt/lib/xtt/src/xtt_ge.cpp
+1
-1
xtt/lib/xtt/src/xtt_xnav.cpp
xtt/lib/xtt/src/xtt_xnav.cpp
+1
-1
No files found.
src/exe/rt_ini/src/ini.c
View file @
fce47c7e
...
@@ -818,29 +818,29 @@ ini_CheckContext (
...
@@ -818,29 +818,29 @@ ini_CheckContext (
if
(
!
cp
->
flags
.
b
.
aliasfile
)
if
(
!
cp
->
flags
.
b
.
aliasfile
)
sprintf
(
cp
->
aliasfile
.
name
,
dbs_cNameAlias
,
cp
->
dir
);
sprintf
(
cp
->
aliasfile
.
name
,
dbs_cNameAlias
,
cp
->
dir
);
cdh_ToLower
(
cp
->
aliasfile
.
name
,
cp
->
aliasfile
.
name
);
//
cdh_ToLower(cp->aliasfile.name, cp->aliasfile.name);
cp
->
nodefile
.
errcount
=
NULL
;
cp
->
nodefile
.
errcount
=
NULL
;
cp
->
nodefile
.
logOpenFail
=
errh_LogInfo
;
cp
->
nodefile
.
logOpenFail
=
errh_LogInfo
;
if
(
!
cp
->
flags
.
b
.
applfile
)
if
(
!
cp
->
flags
.
b
.
applfile
)
sprintf
(
cp
->
applfile
.
name
,
dbs_cNameAppl
,
cp
->
dir
,
c
p
->
nodename
,
cp
->
busid
);
sprintf
(
cp
->
applfile
.
name
,
dbs_cNameAppl
,
cp
->
dir
,
c
dh_Low
(
cp
->
nodename
)
,
cp
->
busid
);
cdh_ToLower
(
cp
->
applfile
.
name
,
cp
->
applfile
.
name
);
//
cdh_ToLower(cp->applfile.name, cp->applfile.name);
cp
->
applfile
.
errcount
=
NULL
;
cp
->
applfile
.
errcount
=
NULL
;
cp
->
applfile
.
logOpenFail
=
errh_LogInfo
;
cp
->
applfile
.
logOpenFail
=
errh_LogInfo
;
if
(
!
cp
->
flags
.
b
.
bootfile
)
if
(
!
cp
->
flags
.
b
.
bootfile
)
sprintf
(
cp
->
bootfile
.
name
,
dbs_cNameBoot
,
cp
->
dir
,
c
p
->
nodename
,
cp
->
busid
);
sprintf
(
cp
->
bootfile
.
name
,
dbs_cNameBoot
,
cp
->
dir
,
c
dh_Low
(
cp
->
nodename
)
,
cp
->
busid
);
cdh_ToLower
(
cp
->
bootfile
.
name
,
cp
->
bootfile
.
name
);
//
cdh_ToLower(cp->bootfile.name, cp->bootfile.name);
cp
->
bootfile
.
errcount
=
&
cp
->
fatals
;
cp
->
bootfile
.
errcount
=
&
cp
->
fatals
;
cp
->
bootfile
.
logOpenFail
=
errh_LogFatal
;
cp
->
bootfile
.
logOpenFail
=
errh_LogFatal
;
if
(
!
cp
->
flags
.
b
.
nodefile
)
if
(
!
cp
->
flags
.
b
.
nodefile
)
sprintf
(
cp
->
nodefile
.
name
,
dbs_cNameNode
,
cp
->
dir
,
c
p
->
nodename
,
cp
->
busid
);
sprintf
(
cp
->
nodefile
.
name
,
dbs_cNameNode
,
cp
->
dir
,
c
dh_Low
(
cp
->
nodename
)
,
cp
->
busid
);
cdh_ToLower
(
cp
->
nodefile
.
name
,
cp
->
nodefile
.
name
);
//
cdh_ToLower(cp->nodefile.name, cp->nodefile.name);
cp
->
nodefile
.
errcount
=
&
cp
->
fatals
;
cp
->
nodefile
.
errcount
=
&
cp
->
fatals
;
cp
->
nodefile
.
logOpenFail
=
errh_LogFatal
;
cp
->
nodefile
.
logOpenFail
=
errh_LogFatal
;
cdh_ToLower
(
cp
->
plcfile
.
name
,
cp
->
plcfile
.
name
);
//
cdh_ToLower(cp->plcfile.name, cp->plcfile.name);
cp
->
plcfile
.
errcount
=
NULL
;
cp
->
plcfile
.
errcount
=
NULL
;
cp
->
plcfile
.
logOpenFail
=
errh_LogInfo
;
cp
->
plcfile
.
logOpenFail
=
errh_LogInfo
;
...
@@ -1111,11 +1111,11 @@ ini_ReadBootFile (
...
@@ -1111,11 +1111,11 @@ ini_ReadBootFile (
if
(
!
cp
->
flags
.
b
.
plcfile
)
{
if
(
!
cp
->
flags
.
b
.
plcfile
)
{
#if defined OS_LYNX || defined OS_LINUX
#if defined OS_LYNX || defined OS_LINUX
sprintf
(
cp
->
plcfile
.
name
,
dbs_cNamePlc
,
""
,
c
p
->
nodename
,
cp
->
busid
,
cp
->
node
.
plcVersion
);
sprintf
(
cp
->
plcfile
.
name
,
dbs_cNamePlc
,
""
,
c
dh_Low
(
cp
->
nodename
)
,
cp
->
busid
,
cp
->
node
.
plcVersion
);
#elif defined OS_VMS
#elif defined OS_VMS
sprintf
(
cp
->
plcfile
.
name
,
dbs_cNamePlc
,
"pwrp_exe:"
,
c
p
->
nodename
,
cp
->
busid
,
cp
->
node
.
plcVersion
);
sprintf
(
cp
->
plcfile
.
name
,
dbs_cNamePlc
,
"pwrp_exe:"
,
c
dh_Low
(
cp
->
nodename
)
,
cp
->
busid
,
cp
->
node
.
plcVersion
);
#else
#else
sprintf
(
cp
->
plcfile
.
name
,
dbs_cNamePlc
,
cp
->
dir
,
c
p
->
nodename
,
cp
->
busid
,
cp
->
node
.
plcVersion
);
sprintf
(
cp
->
plcfile
.
name
,
dbs_cNamePlc
,
cp
->
dir
,
c
dhLow
(
cp
->
nodename
)
,
cp
->
busid
,
cp
->
node
.
plcVersion
);
#endif
#endif
}
}
#if 0
#if 0
...
@@ -1130,7 +1130,7 @@ ini_ReadBootFile (
...
@@ -1130,7 +1130,7 @@ ini_ReadBootFile (
sprintf(cp->plcfile.name, "%s%s", cp->hostspec, tempname);
sprintf(cp->plcfile.name, "%s%s", cp->hostspec, tempname);
#endif
#endif
#endif
#endif
cdh_ToLower
(
cp
->
plcfile
.
name
,
cp
->
plcfile
.
name
);
//
cdh_ToLower(cp->plcfile.name, cp->plcfile.name);
errh_LogInfo
(
&
cp
->
log
,
"This node vill run PLC file: %s"
,
cp
->
plcfile
.
name
);
errh_LogInfo
(
&
cp
->
log
,
"This node vill run PLC file: %s"
,
cp
->
plcfile
.
name
);
break
;
break
;
}
}
...
@@ -1239,13 +1239,13 @@ ini_IterVolumes (
...
@@ -1239,13 +1239,13 @@ ini_IterVolumes (
lst_sEntry
*
vl
;
lst_sEntry
*
vl
;
for
(
vp
=
lst_Succ
(
NULL
,
&
cp
->
vol_lh
,
&
vl
);
vp
!=
NULL
;
vp
=
lst_Succ
(
NULL
,
vl
,
&
vl
))
{
for
(
vp
=
lst_Succ
(
NULL
,
&
cp
->
vol_lh
,
&
vl
);
vp
!=
NULL
;
vp
=
lst_Succ
(
NULL
,
vl
,
&
vl
))
{
sprintf
(
vp
->
filename
,
dbs_cNameVolume
,
cp
->
bdir
,
vp
->
name
);
sprintf
(
vp
->
filename
,
dbs_cNameVolume
,
cp
->
bdir
,
cdh_Low
(
vp
->
name
)
);
cdh_ToLower
(
vp
->
filename
,
vp
->
filename
);
//
cdh_ToLower(vp->filename, vp->filename);
dbs_Open
(
sts
,
&
cp
->
dbs
,
vp
->
filename
);
dbs_Open
(
sts
,
&
cp
->
dbs
,
vp
->
filename
);
if
(
*
sts
==
ERRNO__NOENT
)
{
/* Give pwrp a chance */
if
(
*
sts
==
ERRNO__NOENT
)
{
/* Give pwrp a chance */
sprintf
(
vp
->
filename
,
dbs_cNameVolume
,
cp
->
dir
,
vp
->
name
);
sprintf
(
vp
->
filename
,
dbs_cNameVolume
,
cp
->
dir
,
cdh_Low
(
vp
->
name
)
);
cdh_ToLower
(
vp
->
filename
,
vp
->
filename
);
//
cdh_ToLower(vp->filename, vp->filename);
dbs_Open
(
sts
,
&
cp
->
dbs
,
vp
->
filename
);
dbs_Open
(
sts
,
&
cp
->
dbs
,
vp
->
filename
);
}
}
...
...
src/lib/co/src/co_dcli_file.c
View file @
fce47c7e
...
@@ -128,7 +128,7 @@ int dcli_get_defaultfilename(
...
@@ -128,7 +128,7 @@ int dcli_get_defaultfilename(
}
}
#if defined(OS_LYNX) || defined(OS_LINUX)
#if defined(OS_LYNX) || defined(OS_LINUX)
cdh_ToLower
(
outname
,
outname
);
//
cdh_ToLower( outname, outname);
#endif
#endif
return
DCLI__SUCCESS
;
return
DCLI__SUCCESS
;
}
}
...
...
wb/lib/wb/src/wb_dbs.cpp
View file @
fce47c7e
...
@@ -69,7 +69,7 @@ wb_dbs::wb_dbs(wb_vrep *v) :
...
@@ -69,7 +69,7 @@ wb_dbs::wb_dbs(wb_vrep *v) :
//@todo strcpy(m_volume.className, m_ohp->chp->db.name.data);
//@todo strcpy(m_volume.className, m_ohp->chp->db.name.data);
m_volume
.
dvVersion
=
getDvVersion
(
m_v
);
m_volume
.
dvVersion
=
getDvVersion
(
m_v
);
sprintf
(
m_fileName
,
dbs_cNameVolume
,
dbs_cDirectory
,
m_v
->
name
(
));
sprintf
(
m_fileName
,
dbs_cNameVolume
,
dbs_cDirectory
,
cdh_Low
(
m_v
->
name
()
));
dcli_translate_filename
(
m_fileName
,
m_fileName
);
dcli_translate_filename
(
m_fileName
,
m_fileName
);
m_oid_th
=
tree_CreateTable
(
&
sts
,
sizeof
(
pwr_tOid
),
offsetof
(
sOentry
,
o
.
oid
),
m_oid_th
=
tree_CreateTable
(
&
sts
,
sizeof
(
pwr_tOid
),
offsetof
(
sOentry
,
o
.
oid
),
...
@@ -437,8 +437,6 @@ wb_dbs::openFile()
...
@@ -437,8 +437,6 @@ wb_dbs::openFile()
pwr_tStatus
sts
;
pwr_tStatus
sts
;
int
ret
;
int
ret
;
cdh_ToLower
(
m_fileName
,
m_fileName
);
m_fp
=
fopen
(
m_fileName
,
"w+b"
);
m_fp
=
fopen
(
m_fileName
,
"w+b"
);
if
(
m_fp
==
NULL
)
{
if
(
m_fp
==
NULL
)
{
printf
(
"** Cannot open file: %s
\n
"
,
m_fileName
);
printf
(
"** Cannot open file: %s
\n
"
,
m_fileName
);
...
...
xtt/lib/xtt/src/xtt_ge.cpp
View file @
fce47c7e
...
@@ -43,7 +43,7 @@ void XttGe::graph_init_cb( void *client_data)
...
@@ -43,7 +43,7 @@ void XttGe::graph_init_cb( void *client_data)
int
default_height
;
int
default_height
;
int
sts
;
int
sts
;
cdh_ToLower
(
fname
,
ge
->
filename
);
strncpy
(
fname
,
ge
->
filename
,
sizeof
(
fname
)
);
if
(
!
strrchr
(
fname
,
'.'
))
if
(
!
strrchr
(
fname
,
'.'
))
strcat
(
fname
,
".pwg"
);
strcat
(
fname
,
".pwg"
);
ge
->
graph
->
open
(
fname
);
ge
->
graph
->
open
(
fname
);
...
...
xtt/lib/xtt/src/xtt_xnav.cpp
View file @
fce47c7e
...
@@ -2858,7 +2858,7 @@ int XNav::show_logging( int index)
...
@@ -2858,7 +2858,7 @@ int XNav::show_logging( int index)
new
ItemCommand
(
brow
,
Lng
::
translate
(
"Stop"
),
0
,
NULL
,
new
ItemCommand
(
brow
,
Lng
::
translate
(
"Stop"
),
0
,
NULL
,
flow_eDest_IntoLast
,
command
,
0
,
brow
->
pixmap_action
);
flow_eDest_IntoLast
,
command
,
0
,
brow
->
pixmap_action
);
sprintf
(
command
,
"logging store/entry=%d/file=
rtt_store_logg%d.rtt_com
"
,
sprintf
(
command
,
"logging store/entry=%d/file=
\"
rtt_store_logg%d.rtt_com
\"
"
,
entry
,
entry
);
entry
,
entry
);
new
ItemCommand
(
brow
,
Lng
::
translate
(
"Store"
),
0
,
NULL
,
new
ItemCommand
(
brow
,
Lng
::
translate
(
"Store"
),
0
,
NULL
,
flow_eDest_IntoLast
,
command
,
0
,
brow
->
pixmap_action
);
flow_eDest_IntoLast
,
command
,
0
,
brow
->
pixmap_action
);
...
...
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