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
393ddc6e
Commit
393ddc6e
authored
Sep 21, 2011
by
U-eee\Claes
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of 62.20.65.89:/data1/git/pwr
parents
63dc11db
3c7a9b89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/lib/co/src/co_ccm.c
src/lib/co/src/co_ccm.c
+7
-0
No files found.
src/lib/co/src/co_ccm.c
View file @
393ddc6e
...
...
@@ -3718,6 +3718,11 @@ static int ccm_read_file(
ccm_remove_blank
(
str
,
str
);
if
(
str
[
0
]
==
'!'
||
str
[
0
]
==
0
||
(
str
[
0
]
==
'#'
&&
strncmp
(
str
,
"#include"
,
8
)
!=
0
))
continue
;
/* Remove any trailing \r */
if
(
str
[
strlen
(
str
)
-
1
]
==
'\r'
)
str
[
strlen
(
str
)
-
1
]
=
0
;
/* If last char i backslash, concatenate next line */
while
(
str
[
strlen
(
str
)
-
1
]
==
'\\'
)
{
...
...
@@ -3732,6 +3737,8 @@ static int ccm_read_file(
ccm_remove_blank
(
str2
,
str2
);
if
(
str2
[
0
]
==
'!'
||
str2
[
0
]
==
'#'
)
continue
;
if
(
str2
[
strlen
(
str2
)
-
1
]
==
'\r'
)
str2
[
strlen
(
str2
)
-
1
]
=
0
;
str
[
strlen
(
str
)
-
1
]
=
0
;
if
(
strlen
(
str
)
+
strlen
(
str2
)
>
K_LINE_SIZE
-
1
)
{
...
...
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