packages feed

wai-handler-launch 3.0.0.1 → 3.0.0.2

raw patch · 3 files changed

+6/−4 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,1 +1,3 @@-No changes logged yet+## 3.0.0.2++* Support for Win64
wai-handler-launch.cabal view
@@ -1,5 +1,5 @@ Name:                wai-handler-launch-Version:             3.0.0.1+Version:             3.0.0.2 Synopsis:            Launch a web app in the default browser. description:         API docs and the README are available at <http://www.stackage.org/package/wai-handler-launch>. License:             MIT@@ -25,7 +25,7 @@     if os(windows)         c-sources: windows.c         cpp-options: -DWINDOWS-        extra-libraries: Shell32+        extra-libraries: Shell32 msvcrt     else         build-depends: process >= 1.0 && < 1.3         if os(darwin)
windows.c view
@@ -6,7 +6,7 @@ {     int len = 8 + strlen("http://127.0.0.1:") + strlen(s);     char *buff = malloc(len);-    snprintf(buff, len, "http://127.0.0.1:%d/%s", port, s);+    _snprintf(buff, len, "http://127.0.0.1:%d/%s", port, s);     ShellExecute(NULL, "open", buff, NULL, NULL, SW_SHOWNORMAL);     free(buff); }