]> andersk Git - openssh.git/blobdiff - openbsd-compat/bsd-cygwin_util.c
ignore generated Makefile
[openssh.git] / openbsd-compat / bsd-cygwin_util.c
index d70582b5d9b2d3e0be4f008ebe0ad66ce3ed9fe6..b408dde2db6b9b8d38a2caceed61c45620dca9d2 100644 (file)
@@ -29,8 +29,6 @@
 
 #include "includes.h"
 
-RCSID("$Id$");
-
 #ifdef HAVE_CYGWIN
 
 #include <fcntl.h>
@@ -270,7 +268,7 @@ fetch_windows_environment(void)
        char **e, **p;
        unsigned int i, idx = 0;
 
-       p = xmalloc((WENV_SIZ + 1) * sizeof(char *));
+       p = xcalloc(WENV_SIZ + 1, sizeof(char *));
        for (e = environ; *e != NULL; ++e) {
                for (i = 0; i < WENV_SIZ; ++i) {
                        if (!strncmp(*e, wenv_arr[i].name, wenv_arr[i].namelen))
This page took 0.031138 seconds and 4 git commands to generate.