projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87d46f9
)
Cast needed to compile bsd_glob.c with C++
author
Steve Peters
<steve@fisharerojo.org>
Wed, 16 Aug 2006 17:44:44 +0000
(17:44 +0000)
committer
Steve Peters
<steve@fisharerojo.org>
Wed, 16 Aug 2006 17:44:44 +0000
(17:44 +0000)
p4raw-id: //depot/perl@28730
ext/File/Glob/bsd_glob.c
patch
|
blob
|
history
diff --git
a/ext/File/Glob/bsd_glob.c
b/ext/File/Glob/bsd_glob.c
index
c1dbd2c
..
4d1e7f0
100644
(file)
--- a/
ext/File/Glob/bsd_glob.c
+++ b/
ext/File/Glob/bsd_glob.c
@@
-935,7
+935,7
@@
glob3(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last,
if (pglob->gl_flags & GLOB_ALTDIRFUNC)
readdirfunc = (Direntry_t *(*)(DIR *))pglob->gl_readdir;
else
- readdirfunc = my_readdir;
+ readdirfunc =
(Direntry_t *(*)(DIR *))
my_readdir;
while ((dp = (*readdirfunc)(dirp))) {
register U8 *sc;
register Char *dc;