From ca50e738d35a862c379baf8fffbc3bfd080b3cff Mon Sep 17 00:00:00 2001 From: Nathan Youngman Date: Sun, 7 Sep 2014 21:51:07 -0600 Subject: [PATCH] add dragonfly bsd to the build tags --- CHANGELOG.md | 3 ++- kqueue.go | 2 +- open_mode_bsd.go | 2 +- open_mode_darwin.go | 3 +++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 352f9f9..79f4ddb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/kqueue.go b/kqueue.go index e9a9a35..5ef1346 100644 --- 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 diff --git a/open_mode_bsd.go b/open_mode_bsd.go index 2f9b20a..c57ccb4 100644 --- a/open_mode_bsd.go +++ b/open_mode_bsd.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 +// +build freebsd openbsd netbsd dragonfly package fsnotify diff --git a/open_mode_darwin.go b/open_mode_darwin.go index a2864e7..174b2c3 100644 --- a/open_mode_darwin.go +++ b/open_mode_darwin.go @@ -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 -- 2.50.1