Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e8a53251
Commit
e8a53251
authored
Apr 22, 2009
by
André Hentschel
Committed by
Alexandre Julliard
Apr 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemaker: Remove unused function.
parent
d30df7de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
winemaker
tools/winemaker
+0
-22
No files found.
tools/winemaker
View file @
e8a53251
...
...
@@ -397,28 +397,6 @@ sub is_absolute($)
}
##
# Performs a binary search looking for the specified item
sub
bsearch
($$)
{
my
$array
=
$_
[
0
];
my
$item
=
$_
[
1
];
my
$last
=
@
{
$array
}
-
1
;
my
$first
=
0
;
while
(
$first
<=
$last
)
{
my
$index
=
int
((
$first
+
$last
)
/
2
);
my
$cmp
=
@$array
[
$index
]
cmp
$item
;
if
(
$cmp
<
0
)
{
$first
=
$index
+
1
;
}
elsif
(
$cmp
>
0
)
{
$last
=
$index
-
1
;
}
else
{
return
$index
;
}
}
}
##
# Retrieves the contents of the specified directory.
# We either get it from the directories hashtable which acts as a
# cache, or use opendir, readdir, closedir and store the result
...
...
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