diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-09-06 15:06:06 +0200 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2011-09-07 19:10:01 -0500 |
commit | ae9840c722878bd70d9687341b670585217d57c3 (patch) | |
tree | 45edbeaf1704b8f4dba5d85d6d0f5e994307485f | |
parent | e44abfb38bd9e35869ded09bff0743c5aed76f40 (diff) | |
download | perl-ae9840c722878bd70d9687341b670585217d57c3.tar.gz |
In Glob.xs, use memset() instead of bzero()
3c97495f56fb647c used bzero(), which isn't available on some platforms.
-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 f676a303da..8510265f6f 100644 --- a/ext/File-Glob/Glob.xs +++ b/ext/File-Glob/Glob.xs @@ -54,7 +54,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; |