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
11ac61c4
Commit
11ac61c4
authored
Jul 05, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show module with erroneous object class asserted
parent
e0a723e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
wb/lib/wb/src/wb_utl.cpp
wb/lib/wb/src/wb_utl.cpp
+10
-7
No files found.
wb/lib/wb/src/wb_utl.cpp
View file @
11ac61c4
/*
* Proview $Id: wb_utl.cpp,v 1.
2 2007-04-25 13:39:21
claes Exp $
* Proview $Id: wb_utl.cpp,v 1.
3 2007-07-05 13:38:39
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -2819,6 +2819,8 @@ int utl_show_modules (
pwr_tClassId
class_vect
[
5
];
int
single_object
=
0
;
int
sts
,
size
;
pwr_tStatus
mod_sts
=
0
;
pwr_tStatus
comp_sts
=
0
;
pwr_tClassId
*
classp
;
pwr_tObjid
hierobjdid
;
utl_ctx
utlctx
;
...
...
@@ -2933,9 +2935,9 @@ int utl_show_modules (
sts
=
gcg_wind_to_operating_system
(
ldhses
,
objdid
,
&
os
);
/* Get modification time in parameter Modified */
sts
=
ldh_GetObjectPar
(
ldhses
,
objdid
,
"DevBody"
,
"Compiled"
,
(
char
**
)
&
comp_time_ptr
,
&
size
);
if
(
ODD
(
sts
))
comp_
sts
=
ldh_GetObjectPar
(
ldhses
,
objdid
,
"DevBody"
,
"Compiled"
,
(
char
**
)
&
comp_time_ptr
,
&
size
);
if
(
ODD
(
comp_
sts
))
{
memcpy
(
&
comp_time
,
comp_time_ptr
,
sizeof
(
comp_time
));
/* Convert to ascii */
...
...
@@ -2956,9 +2958,9 @@ int utl_show_modules (
}
/* Get modification time in parameter Modified */
sts
=
ldh_GetObjectPar
(
ldhses
,
objdid
,
"DevBody"
,
mod_
sts
=
ldh_GetObjectPar
(
ldhses
,
objdid
,
"DevBody"
,
"Modified"
,
(
char
**
)
&
mod_time_ptr
,
&
size
);
if
(
ODD
(
sts
))
if
(
ODD
(
mod_
sts
))
{
memcpy
(
&
mod_time
,
mod_time_ptr
,
sizeof
(
mod_time
));
/* Convert to ascii */
...
...
@@ -2979,7 +2981,8 @@ int utl_show_modules (
}
/* Check if modified after compiled */
if
(
time_Acomp
(
&
mod_time
,
&
comp_time
)
>
0
)
if
(
ODD
(
mod_sts
)
&&
ODD
(
comp_sts
)
&&
time_Acomp
(
&
mod_time
,
&
comp_time
)
>
0
)
modification
=
1
;
else
modification
=
0
;
...
...
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