Skip to content

Commit

Permalink
Merge branch 'pan/win_init_restart_oldshell/OTP-9139' into dev
Browse files Browse the repository at this point in the history
* pan/win_init_restart_oldshell/OTP-9139:
  Add testcase
  Teach win32/sys.c (fd-driver) not to leak readers causing init:restart to fail
  Make Erlang build with Latest MS SDK, 7.1 (and VStudio 2010)
  • Loading branch information
bufflig committed Mar 25, 2011
2 parents 21a514b + a06cf2a commit e230578
Show file tree
Hide file tree
Showing 6 changed files with 292 additions and 113 deletions.
8 changes: 7 additions & 1 deletion erts/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. -*-m4-*-

dnl %CopyrightBegin%
dnl
dnl Copyright Ericsson AB 1997-2010. All Rights Reserved.
dnl Copyright Ericsson AB 1997-2011. All Rights Reserved.
dnl
dnl The contents of this file are subject to the Erlang Public License,
dnl Version 1.1, (the "License"); you may not use this file except in
Expand Down Expand Up @@ -3659,6 +3659,12 @@ case "$erl_xcomp_without_sysroot-$with_ssl" in
wrp="/machine/software/microsoft/windows/currentversion/"
urp="uninstall/openssl_is1/inno setup: app path"
rp="$wrp$urp"
if regtool -q get "$rp" > /dev/null; then
true
else
urp="uninstall/openssl (32-bit)_is1/inno setup: app path"
rp="$wrp$urp"
fi
if regtool -q get "$rp" > /dev/null; then
ssl_install_dir=`regtool -q get "$rp"`
# Try hard to get rid of spaces...
Expand Down
4 changes: 2 additions & 2 deletions erts/emulator/beam/sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,8 @@ typedef struct preload {
*/

typedef struct _SysDriverOpts {
int ifd; /* Input file descriptor (fd driver). */
int ofd; /* Outputfile descriptor (fd driver). */
Uint ifd; /* Input file descriptor (fd driver). */
Uint ofd; /* Outputfile descriptor (fd driver). */
int packet_bytes; /* Number of bytes in packet header. */
int read_write; /* Read and write bits. */
int use_stdio; /* Use standard I/O: TRUE or FALSE. */
Expand Down
Loading

0 comments on commit e230578

Please sign in to comment.