diff options
author | 2014-03-24 14:58:42 +0000 | |
---|---|---|
committer | 2014-03-24 14:58:42 +0000 | |
commit | 91f110e064cd7c194e59e019b83bb7496c1c84d4 (patch) | |
tree | 3e8e577405dba7e94b43cbf21c22f21aaa5ab949 /gnu/usr.bin/perl/cygwin/cygwin.c | |
parent | do not call purge_task every 10 secs, it is only needed once at startup and (diff) | |
download | wireguard-openbsd-91f110e064cd7c194e59e019b83bb7496c1c84d4.tar.xz wireguard-openbsd-91f110e064cd7c194e59e019b83bb7496c1c84d4.zip |
Import perl-5.18.2
OK espie@ sthen@ deraadt@
Diffstat (limited to 'gnu/usr.bin/perl/cygwin/cygwin.c')
-rw-r--r-- | gnu/usr.bin/perl/cygwin/cygwin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/perl/cygwin/cygwin.c b/gnu/usr.bin/perl/cygwin/cygwin.c index 29ee22e0fa6..87401d1daba 100644 --- a/gnu/usr.bin/perl/cygwin/cygwin.c +++ b/gnu/usr.bin/perl/cygwin/cygwin.c @@ -129,7 +129,7 @@ do_spawn (char *cmd) return do_spawnvp("sh",command); } - Newx (PL_Argv,(s-cmd)/2+2,char*); + Newx (PL_Argv, (s-cmd)/2+2, const char*); PL_Cmd=savepvn (cmd,s-cmd); a=PL_Argv; for (s=PL_Cmd; *s;) { @@ -254,7 +254,7 @@ XS(XS_Cygwin_win_to_posix_path) dXSARGS; int absolute_flag = 0; STRLEN len; - int err; + int err = 0; char *src_path; char *posix_path; int isutf8 = 0; @@ -343,7 +343,7 @@ XS(XS_Cygwin_posix_to_win_path) dXSARGS; int absolute_flag = 0; STRLEN len; - int err; + int err = 0; char *src_path, *win_path; int isutf8 = 0; |