aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/io.c
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2011-12-06 18:58:50 +0100
committerBjörn Gustavsson <[email protected]>2011-12-09 11:46:26 +0100
commit1f99b8b3a0a7f1c3a110df087bc6d7cba0cc913f (patch)
treeadb2985137287920bbad2a574929ac4648c67038 /erts/emulator/beam/io.c
parentf8bfec7ff2f5935ca2281f760746ba359454ef15 (diff)
downloadotp-1f99b8b3a0a7f1c3a110df087bc6d7cba0cc913f.tar.gz
otp-1f99b8b3a0a7f1c3a110df087bc6d7cba0cc913f.tar.bz2
otp-1f99b8b3a0a7f1c3a110df087bc6d7cba0cc913f.zip
Bump driver version to 2.0
Diffstat (limited to 'erts/emulator/beam/io.c')
-rw-r--r--erts/emulator/beam/io.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c
index f5bca26586..1749cac66c 100644
--- a/erts/emulator/beam/io.c
+++ b/erts/emulator/beam/io.c
@@ -4860,7 +4860,9 @@ init_driver(erts_driver_t *drv, ErlDrvEntry *de, DE_Handle *handle)
drv->process_exit = de->process_exit;
else
drv->process_exit = NULL;
- if (de->minor_version >= 3/*R13A*/ && de->stop_select)
+ if ((de->major_version >= 2
+ || (de->major_version == 1 && de->minor_version >= 3)/*R13A*/)
+ && de->stop_select)
drv->stop_select = de->stop_select;
else
drv->stop_select = no_stop_select_callback;