]> go.fuhry.dev Git - fsnotify.git/commitdiff
add dragonfly bsd to the build tags
authorNathan Youngman <git@nathany.com>
Mon, 8 Sep 2014 03:51:07 +0000 (21:51 -0600)
committerNathan Youngman <git@nathany.com>
Mon, 8 Sep 2014 03:52:45 +0000 (21:52 -0600)
CHANGELOG.md
kqueue.go
open_mode_bsd.go
open_mode_darwin.go

index 352f9f900153a2d9a3e67c1732b8ccd54cc5a490..79f4ddbaa149db25e95bfcf50d7a863086e86543 100644 (file)
@@ -1,7 +1,8 @@
 # Changelog
 
-## master
+## v1.0.4 / 2014-09-07
 
+* kqueue: add dragonfly to the build tags.
 * Rename source code files, rearrange code so exported APIs are at the top.
 * Add done channel to example code. [#37](https://github.com/go-fsnotify/fsnotify/pull/37) (thanks @chenyukang)
 
index e9a9a3511755e8127f52c71e28decad84985e305..5ef1346c0d49bf3d93306135554c71a0236d07d7 100644 (file)
--- a/kqueue.go
+++ b/kqueue.go
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build freebsd openbsd netbsd darwin
+// +build freebsd openbsd netbsd dragonfly darwin
 
 package fsnotify
 
index 2f9b20a1303c9ae0bf8f20454aa507862172bebb..c57ccb427b911b481eae4d67dd641fef5b1bbd45 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build freebsd openbsd netbsd
+// +build freebsd openbsd netbsd dragonfly
 
 package fsnotify
 
index a2864e71ce429db064824eb38d51d30069732dfd..174b2c331f1a19b20797f35066ce2e3bd5ea20b8 100644 (file)
@@ -2,8 +2,11 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// +build darwin
+
 package fsnotify
 
 import "syscall"
 
+// note: this constant is not defined on BSD
 const openMode = syscall.O_EVTONLY