Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
adc665e9
Commit
adc665e9
authored
Apr 25, 2003
by
bbaetz%acm.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 172331 - importxml.pl warnings under perl 5.8
r,a=justdave
parent
95570aca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
importxml.pl
importxml.pl
+6
-6
No files found.
importxml.pl
View file @
adc665e9
...
...
@@ -227,7 +227,7 @@ if (defined $tree->[1][0]->{'urlbase'}) {
}
my
$bugqty
=
(
$#
{
@
{
$tree
}
->
[
1
]}
+
1
-
3
)
/
4
;
my
$bugqty
=
(
$#
{
$tree
->
[
1
]}
+
1
-
3
)
/
4
;
my
$log
=
"Imported $bugqty bug(s) from $urlbase,\n sent by $exporter.\n\n"
;
for
(
my
$k
=
1
;
$k
<=
$bugqty
;
$k
++
)
{
my
$cur
=
$k
*
4
;
...
...
@@ -261,7 +261,7 @@ for (my $k=1 ; $k <= $bugqty ; $k++) {
my
%
bug_fields
;
my
$err
=
""
;
for
(
my
$i
=
3
;
$i
<
$#
{
@
{
$tree
}
->
[
1
][
$cur
]}
;
$i
=
$i
+
4
)
{
for
(
my
$i
=
3
;
$i
<
$#
{
$tree
->
[
1
][
$cur
]}
;
$i
=
$i
+
4
)
{
if
(
defined
$multiple_fields
{
$tree
->
[
1
][
$cur
][
$i
]})
{
if
(
defined
$bug_fields
{
$tree
->
[
1
][
$cur
][
$i
]})
{
$bug_fields
{
$tree
->
[
1
][
$cur
][
$i
]}
.=
" "
.
$tree
->
[
1
][
$cur
][
$i
+
1
][
2
];
...
...
@@ -277,7 +277,7 @@ for (my $k=1 ; $k <= $bugqty ; $k++) {
$err
.=
"<$tree->[1][$cur][$i]>"
;
if
(
defined
$tree
->
[
1
][
$cur
][
$i
+
1
][
3
])
{
$err
.=
"\n"
;
for
(
my
$j
=
3
;
$j
<
$#
{
@
{
$tree
}
->
[
1
][
$cur
][
$i
+
1
]}
;
$j
=
$j
+
4
)
{
for
(
my
$j
=
3
;
$j
<
$#
{
$tree
->
[
1
][
$cur
][
$i
+
1
]}
;
$j
=
$j
+
4
)
{
$err
.=
" <"
.
$tree
->
[
1
][
$cur
][
$i
+
1
][
$j
]
.
">"
;
$err
.=
" $tree->[1][$cur][$i+1][$j+1][2] "
;
$err
.=
"</"
.
$tree
->
[
1
][
$cur
][
$i
+
1
][
$j
]
.
">\n"
;
...
...
@@ -290,7 +290,7 @@ for (my $k=1 ; $k <= $bugqty ; $k++) {
}
my
@long_descs
;
for
(
my
$i
=
3
;
$i
<
$#
{
@
{
$tree
}
->
[
1
][
$cur
]}
;
$i
=
$i
+
4
)
{
for
(
my
$i
=
3
;
$i
<
$#
{
$tree
->
[
1
][
$cur
]}
;
$i
=
$i
+
4
)
{
if
(
$tree
->
[
1
][
$cur
][
$i
]
=~
/long_desc/
)
{
my
%
long_desc
;
$long_desc
{
'who'
}
=
$tree
->
[
1
][
$cur
][
$i
+
1
][
4
][
2
];
...
...
@@ -418,9 +418,9 @@ for (my $k=1 ; $k <= $bugqty ; $k++) {
push
(
@query
,
"version"
);
}
else
{
push
(
@query
,
"version"
);
push
(
@values
,
SqlQuote
(
@
{
$::versions
{
$product
[
0
]}
}
->
[
0
]));
push
(
@values
,
SqlQuote
(
$::versions
{
$product
[
0
]
}
->
[
0
]));
$err
.=
"Unknown version $bug_fields{'version'} in product $product[0]. "
;
$err
.=
"Setting version to \"
@{$::versions{$product[0]}
}->[0]\".\n"
;
$err
.=
"Setting version to \"
$::versions{$product[0]
}->[0]\".\n"
;
}
if
(
defined
(
$bug_fields
{
'priority'
})
&&
...
...
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