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
e30bad15
Commit
e30bad15
authored
Apr 07, 2017
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build, strings for commands and filnames increased
parent
585bc1cd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
7 deletions
+11
-7
src/exe/co_convert/src/cnv_ctx.h
src/exe/co_convert/src/cnv_ctx.h
+1
-1
src/exe/co_convert/src/co_convert.cpp
src/exe/co_convert/src/co_convert.cpp
+2
-2
src/exp/inc/src/pwr.h
src/exp/inc/src/pwr.h
+1
-1
wb/exe/wb_cmd/gtk/wb_cmd_gtk.cpp
wb/exe/wb_cmd/gtk/wb_cmd_gtk.cpp
+5
-1
wb/lib/wb/src/wb_vrepwbl.cpp
wb/lib/wb/src/wb_vrepwbl.cpp
+2
-2
No files found.
src/exe/co_convert/src/cnv_ctx.h
View file @
e30bad15
...
...
@@ -65,7 +65,7 @@ class CnvCtx {
strcpy
(
setup_filename
,
""
);
strcpy
(
depend_filename
,
""
);
}
char
dir
[
120
]
;
pwr_tFileName
dir
;
int
generate_html
;
int
generate_xtthelp
;
int
generate_src
;
...
...
src/exe/co_convert/src/co_convert.cpp
View file @
e30bad15
...
...
@@ -109,8 +109,8 @@ int main( int argc, char *argv[])
int
exit_sts
=
1
;
CnvCtx
*
ctx
;
int
sts
;
char
found_file
[
200
]
;
char
files
[
200
]
;
pwr_tFileName
found_file
;
pwr_tFileName
files
;
char
*
s
;
int
i
;
int
file_cnt
;
...
...
src/exp/inc/src/pwr.h
View file @
e30bad15
...
...
@@ -142,7 +142,7 @@ extern "C" {
#define pwr_cSizOName 199
#define pwr_cSizAName 399
#define pwr_cSizFileName 255
#define pwr_cSizCmd
255
#define pwr_cSizCmd
399
typedef
void
*
pwr_tAddress
;
//!< Generic pointer type.
typedef
unsigned
int
pwr_tBit
;
//!< Bit type.
...
...
wb/exe/wb_cmd/gtk/wb_cmd_gtk.cpp
View file @
e30bad15
...
...
@@ -91,7 +91,7 @@ int main(int argc, char *argv[])
pwr_tStatus
sts
;
int
i
;
char
str
[
256
]
;
pwr_tCmd
str
;
CmdGtk
*
cmd
;
int
quiet
=
0
;
...
...
@@ -140,6 +140,10 @@ int main(int argc, char *argv[])
else
{
if
(
str
[
0
]
!=
0
)
strcat
(
str
,
" "
);
if
(
strlen
(
str
)
+
strlen
(
argv
[
i
])
>=
sizeof
(
str
))
{
cout
<<
"Command string too long"
<<
endl
;
exit
(
0
);
}
strcat
(
str
,
argv
[
i
]);
}
}
...
...
wb/lib/wb/src/wb_vrepwbl.cpp
View file @
e30bad15
...
...
@@ -256,7 +256,7 @@ static int wbl_sort_files( const void *file1, const void *file2)
int
wb_vrepwbl
::
load
(
const
char
*
fname
)
{
int
i
;
char
file_spec
[
200
]
;
pwr_tFileName
file_spec
;
pwr_tStatus
sts
,
rsts
;
int
file_cnt_sort
=
0
;
...
...
@@ -1358,7 +1358,7 @@ int wb_vrepwbl::getTemplateBody( pwr_tCid cid, pwr_eBix bix, size_t *size, void
int
wb_vrepwbl
::
load_files
(
const
char
*
file_spec
)
{
char
found_file
[
200
]
;
pwr_tFileName
found_file
;
int
sts
;
wb_wbl_parser
p
;
...
...
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