diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-09-06 15:06:06 +0200 |
---|---|---|
committer | Florian Ragwitz <rafl@debian.org> | 2011-09-07 19:51:15 +0200 |
commit | f6a30485843d7a23d4183e8b4a799986e200d1cb (patch) | |
tree | e8610f450be2a154120de2db80b5a064b97f93f7 /ext | |
parent | de57faa63f6d01aba7c1310a7cb63a8ff6644aec (diff) | |
download | perl-f6a30485843d7a23d4183e8b4a799986e200d1cb.tar.gz |
In Glob.xs, use memset() instead of bzero()
3c97495f56fb647c used bzero(), which isn't available on some platforms.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/File-Glob/Glob.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/File-Glob/Glob.xs b/ext/File-Glob/Glob.xs index 5a08a0d079..91b9f4d5f1 100644 --- a/ext/File-Glob/Glob.xs +++ b/ext/File-Glob/Glob.xs @@ -64,7 +64,7 @@ PPCODE: } /* call glob */ - bzero(&pglob, sizeof(glob_t)); + memset(&pglob, 0, sizeof(glob_t)); retval = bsd_glob(pattern, flags, errfunc, &pglob); GLOB_ERROR = retval; |