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
fb1fe519
Commit
fb1fe519
authored
Feb 08, 2010
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of pwrcvs:/data1/git/pwr
parents
3b02d7b2
eb6beb2a
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
16 additions
and
10 deletions
+16
-10
src/exe/co_convert/src/cnv_xtthelptohtml.cpp
src/exe/co_convert/src/cnv_xtthelptohtml.cpp
+2
-2
src/lib/co/src/co_lng.cpp
src/lib/co/src/co_lng.cpp
+1
-1
src/lib/rt/src/os_linux/rt_errl.c
src/lib/rt/src/os_linux/rt_errl.c
+1
-0
src/lib/rt/src/rt_mvol.c
src/lib/rt/src/rt_mvol.c
+1
-1
src/lib/rt/src/rt_sect.c
src/lib/rt/src/rt_sect.c
+2
-0
wb/exe/wb/src/wb_main.cpp
wb/exe/wb/src/wb_main.cpp
+1
-1
wb/lib/wb/src/wb_dbms.cpp
wb/lib/wb/src/wb_dbms.cpp
+1
-1
wb/lib/wb/src/wb_gcg.cpp
wb/lib/wb/src/wb_gcg.cpp
+1
-1
wb/lib/wb/src/wb_wbllexer.cpp
wb/lib/wb/src/wb_wbllexer.cpp
+1
-0
wb/lib/wb/src/wb_wnav_command.cpp
wb/lib/wb/src/wb_wnav_command.cpp
+2
-2
xtt/lib/ge/src/ge_curve.cpp
xtt/lib/ge/src/ge_curve.cpp
+2
-0
xtt/lib/ge/src/ge_graph_journal.cpp
xtt/lib/ge/src/ge_graph_journal.cpp
+1
-1
No files found.
src/exe/co_convert/src/cnv_xtthelptohtml.cpp
View file @
fb1fe519
...
@@ -161,7 +161,7 @@ void *CnvXtthelpToHtml::insert( navh_eItemType item_type, const char *text1,
...
@@ -161,7 +161,7 @@ void *CnvXtthelpToHtml::insert( navh_eItemType item_type, const char *text1,
// Get prefix from file
// Get prefix from file
strcpy
(
fname
,
"./orm/"
);
strcpy
(
fname
,
"./orm/"
);
s
=
strrchr
(
file_name
,
'/'
);
s
=
(
char
*
)
strrchr
(
file_name
,
'/'
);
if
(
s
)
if
(
s
)
strcat
(
fname
,
s
+
1
);
strcat
(
fname
,
s
+
1
);
s
=
strchr
(
fname
,
'_'
);
s
=
strchr
(
fname
,
'_'
);
...
@@ -245,7 +245,7 @@ void *CnvXtthelpToHtml::insert( navh_eItemType item_type, const char *text1,
...
@@ -245,7 +245,7 @@ void *CnvXtthelpToHtml::insert( navh_eItemType item_type, const char *text1,
// Get prefix from file
// Get prefix from file
strcpy
(
fname
,
"./orm/"
);
strcpy
(
fname
,
"./orm/"
);
s
=
strrchr
(
file_name
,
'/'
);
s
=
(
char
*
)
strrchr
(
file_name
,
'/'
);
if
(
s
)
if
(
s
)
strcat
(
fname
,
s
+
1
);
strcat
(
fname
,
s
+
1
);
s
=
strchr
(
fname
,
'_'
);
s
=
strchr
(
fname
,
'_'
);
...
...
src/lib/co/src/co_lng.cpp
View file @
fb1fe519
...
@@ -258,7 +258,7 @@ char *Lng::translate( const char *text)
...
@@ -258,7 +258,7 @@ char *Lng::translate( const char *text)
case
'B'
:
{
case
'B'
:
{
char
*
s
=
strrchr
(
record
->
transl
,
','
);
char
*
s
=
strrchr
(
record
->
transl
,
','
);
if
(
s
)
{
if
(
s
)
{
char
*
t
=
strrchr
(
text
,
','
);
c
onst
c
har
*
t
=
strrchr
(
text
,
','
);
if
(
t
)
{
if
(
t
)
{
long
int
len
=
(
unsigned
long
)
s
-
(
unsigned
long
)
record
->
transl
+
1
;
long
int
len
=
(
unsigned
long
)
s
-
(
unsigned
long
)
record
->
transl
+
1
;
strncpy
(
result
,
record
->
transl
,
len
);
strncpy
(
result
,
record
->
transl
,
len
);
...
...
src/lib/rt/src/os_linux/rt_errl.c
View file @
fb1fe519
...
@@ -280,6 +280,7 @@ log_thread (void *arg)
...
@@ -280,6 +280,7 @@ log_thread (void *arg)
}
}
}
}
}
}
return
0
;
}
}
...
...
src/lib/rt/src/rt_mvol.c
View file @
fb1fe519
...
@@ -279,7 +279,7 @@ mvol_AnameToAttribute (
...
@@ -279,7 +279,7 @@ mvol_AnameToAttribute (
if
(
i
!=
pn
->
nAttribute
-
1
)
{
if
(
i
!=
pn
->
nAttribute
-
1
)
{
if
(
pn
->
hasIndex
[
i
])
if
(
pn
->
hasIndex
[
i
])
offset
+=
pn
->
index
[
i
]
*
ap
->
adef
->
Info
.
Size
/
ap
->
adef
->
Info
.
Elements
;
offset
+=
pn
->
index
[
i
]
*
ap
->
adef
->
Info
.
Size
/
ap
->
adef
->
Info
.
Elements
;
if
(
!
ap
->
adef
->
Info
.
Flags
&
PWR_MASK_CLASS
)
pwr_Return
(
NULL
,
sts
,
GDH__NOSUCHCLASS
);
if
(
!
(
ap
->
adef
->
Info
.
Flags
&
PWR_MASK_CLASS
)
)
pwr_Return
(
NULL
,
sts
,
GDH__NOSUCHCLASS
);
tid
=
ap
->
adef
->
TypeRef
;
tid
=
ap
->
adef
->
TypeRef
;
acp
=
hash_Search
(
sts
,
gdbroot
->
cid_ht
,
&
ap
->
adef
->
TypeRef
);
acp
=
hash_Search
(
sts
,
gdbroot
->
cid_ht
,
&
ap
->
adef
->
TypeRef
);
...
...
src/lib/rt/src/rt_sect.c
View file @
fb1fe519
...
@@ -345,6 +345,8 @@ sect_Free (
...
@@ -345,6 +345,8 @@ sect_Free (
ker
$
delete
(
&
lsts
,
shp
->
area
);
ker
$
delete
(
&
lsts
,
shp
->
area
);
#elif defined(OS_VMS)
#elif defined(OS_VMS)
lsts
=
sys
$
deltva
(
shp
->
sectadr
,
NULL
,
0
);
lsts
=
sys
$
deltva
(
shp
->
sectadr
,
NULL
,
0
);
#elif defined(OS_LINUX)
lsts
=
1
;
/* TODO ? */
#endif
#endif
if
(
ODD
(
lsts
))
if
(
ODD
(
lsts
))
...
...
wb/exe/wb/src/wb_main.cpp
View file @
fb1fe519
...
@@ -336,7 +336,7 @@ void Wb::wtt_open_volume( void *wttctx, wb_eType type, const char *filename, wow
...
@@ -336,7 +336,7 @@ void Wb::wtt_open_volume( void *wttctx, wb_eType type, const char *filename, wow
wb_volume
*
vol
=
new
wb_volume
(
mem
);
wb_volume
*
vol
=
new
wb_volume
(
mem
);
// Display filename i title, without path
// Display filename i title, without path
char
*
name_p
;
c
onst
c
har
*
name_p
;
if
(
(
name_p
=
strrchr
(
filename
,
'/'
)))
if
(
(
name_p
=
strrchr
(
filename
,
'/'
)))
name_p
++
;
name_p
++
;
else
else
...
...
wb/lib/wb/src/wb_dbms.cpp
View file @
fb1fe519
...
@@ -1012,7 +1012,7 @@ wb_dbms_info::wb_dbms_info(wb_dbms *db) :
...
@@ -1012,7 +1012,7 @@ wb_dbms_info::wb_dbms_info(wb_dbms *db) :
void
wb_dbms_info
::
get
(
wb_dbms_txn
*
txn
)
void
wb_dbms_info
::
get
(
wb_dbms_txn
*
txn
)
{
{
int
index
=
1
;
int
index
=
1
;
int
ret
;
int
ret
=
0
;
wb_dbms_qe
key
(
&
index
,
sizeof
(
index
));
wb_dbms_qe
key
(
&
index
,
sizeof
(
index
));
wb_dbms_qe
data
(
&
m_volume
,
sizeof
(
m_volume
));
wb_dbms_qe
data
(
&
m_volume
,
sizeof
(
m_volume
));
...
...
wb/lib/wb/src/wb_gcg.cpp
View file @
fb1fe519
...
@@ -840,7 +840,7 @@ static pwr_tStatus gcg_get_build_host(
...
@@ -840,7 +840,7 @@ static pwr_tStatus gcg_get_build_host(
int
bufsize
int
bufsize
)
)
{
{
int
sts
;
int
sts
=
GSX__SUCCESS
;
char
logname
[
32
];
char
logname
[
32
];
if
(
os
&
pwr_mOpSys_PPC_LYNX
)
if
(
os
&
pwr_mOpSys_PPC_LYNX
)
...
...
wb/lib/wb/src/wb_wbllexer.cpp
View file @
fb1fe519
/* $ANTLR 2.7.6 (20060211): "wb_wbllexer.g" -> "wb_wbllexer.cpp"$ */
/* $ANTLR 2.7.6 (20060211): "wb_wbllexer.g" -> "wb_wbllexer.cpp"$ */
#include <stdio.h>
#include "wb_wbllexer.hpp"
#include "wb_wbllexer.hpp"
#include <antlr/CharBuffer.hpp>
#include <antlr/CharBuffer.hpp>
#include <antlr/TokenStreamException.hpp>
#include <antlr/TokenStreamException.hpp>
...
...
wb/lib/wb/src/wb_wnav_command.cpp
View file @
fb1fe519
...
@@ -476,7 +476,7 @@ static int wnav_help_func( void *client_data,
...
@@ -476,7 +476,7 @@ static int wnav_help_func( void *client_data,
char
bookmark_str
[
80
];
char
bookmark_str
[
80
];
char
key
[
80
];
char
key
[
80
];
int
pop
;
int
pop
;
int
strict
;
int
strict
=
0
;
if
(
ODD
(
dcli_get_qualifier
(
"/INDEX"
,
file_str
,
sizeof
(
file_str
))))
if
(
ODD
(
dcli_get_qualifier
(
"/INDEX"
,
file_str
,
sizeof
(
file_str
))))
...
@@ -4067,7 +4067,7 @@ static int wnav_create_func( void *client_data,
...
@@ -4067,7 +4067,7 @@ static int wnav_create_func( void *client_data,
char
from_str
[
120
];
char
from_str
[
120
];
char
*
fromstr_ptr
;
char
*
fromstr_ptr
;
int
sts
;
int
sts
;
int
templ
;
int
templ
=
0
;
if
(
!
wnav
->
editmode
)
{
if
(
!
wnav
->
editmode
)
{
wnav
->
message
(
'E'
,
"Not in edit mode"
);
wnav
->
message
(
'E'
,
"Not in edit mode"
);
...
...
xtt/lib/ge/src/ge_curve.cpp
View file @
fb1fe519
...
@@ -1568,11 +1568,13 @@ void GeCurveData::scale( int axis_type, int value_type,
...
@@ -1568,11 +1568,13 @@ void GeCurveData::scale( int axis_type, int value_type,
break
;
break
;
case
curve_eTimeFormat_HourMinute
:
case
curve_eTimeFormat_HourMinute
:
// Hour and minute format
// Hour and minute format
format_int
=
abs
(
n
)
+
1
;
strcpy
(
format
,
"%2t"
);
strcpy
(
format
,
"%2t"
);
*
axis_width
=
0.65
*
format_int
+
0.4
;
*
axis_width
=
0.65
*
format_int
+
0.4
;
break
;
break
;
case
curve_eTimeFormat_DayHour
:
case
curve_eTimeFormat_DayHour
:
// Days and hour format
// Days and hour format
format_int
=
abs
(
n
)
+
1
;
strcpy
(
format
,
"%3t"
);
strcpy
(
format
,
"%3t"
);
*
axis_width
=
0.65
*
format_int
+
0.4
;
*
axis_width
=
0.65
*
format_int
+
0.4
;
break
;
break
;
...
...
xtt/lib/ge/src/ge_graph_journal.cpp
View file @
fb1fe519
...
@@ -64,7 +64,7 @@ static char *gname( const char *name)
...
@@ -64,7 +64,7 @@ static char *gname( const char *name)
static
char
n
[
80
];
static
char
n
[
80
];
char
*
s
;
char
*
s
;
if
(
(
s
=
strrchr
(
name
,
'/'
)))
if
(
(
s
=
(
char
*
)
strrchr
(
name
,
'/'
)))
strncpy
(
n
,
s
+
1
,
sizeof
(
n
));
strncpy
(
n
,
s
+
1
,
sizeof
(
n
));
else
else
strncpy
(
n
,
name
,
sizeof
(
n
));
strncpy
(
n
,
name
,
sizeof
(
n
));
...
...
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