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
84b2768d
Commit
84b2768d
authored
Mar 12, 2014
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Xtt read struct fix, element name buffer increased
parent
44814a41
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
src/lib/co/src/co_dcli.h
src/lib/co/src/co_dcli.h
+1
-1
src/lib/co/src/co_dcli_struct.c
src/lib/co/src/co_dcli_struct.c
+6
-6
No files found.
src/lib/co/src/co_dcli.h
View file @
84b2768d
...
...
@@ -142,7 +142,7 @@ typedef struct s_element {
int
undefined
;
char
typestr
[
40
];
char
struct_begin
;
char
name
[
40
];
char
name
[
256
];
unsigned
int
mask
;
char
filename
[
120
];
int
line_nr
;
...
...
src/lib/co/src/co_dcli_struct.c
View file @
84b2768d
...
...
@@ -158,7 +158,7 @@ static int process_struct( t_ctx ctx,
int
elnum
[
5
];
char
*
s
,
*
t
;
char
*
begin_addr
,
*
end_addr
;
char
name
[
4
0
];
char
name
[
8
0
];
int
i
,
j
,
k
;
dcli_sStructElement
*
element_p
;
dcli_sStructElement
*
e_p
;
...
...
@@ -166,7 +166,7 @@ static int process_struct( t_ctx ctx,
int
first
;
int
nr
;
int
count
;
char
tmp
[
40
];
char
tmp
[
256
];
int
highest_struct_proc
;
if
(
filectx
->
struct_proc
==
0
)
...
...
@@ -929,14 +929,14 @@ static int find_struct( t_ctx ctx,
dcli_sStructElement
*
next_ptr
;
t_filectx
filectx
;
char
*
s1
,
*
s2
;
char
tmp
[
40
];
char
tmp
[
256
];
int
nr
;
int
count
;
int
elnumcount
;
int
elnum
[
5
];
char
includename
[
80
];
char
normfilename
[
120
];
char
fname
[
120
];
char
includename
[
256
];
char
normfilename
[
256
];
char
fname
[
256
];
int
return_sts
;
t_define
*
define_ptr
;
char
define_elem
[
2
][
READSTRUCT_DEFINESIZE
];
...
...
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