Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
remove tabs and trailing white space
Browse files Browse the repository at this point in the history
add missing files to MANIFEST
don't rely on MANIFEST for the white space test
  • Loading branch information
rainers committed Jul 20, 2015
1 parent 4f19d34 commit 42685fd
Show file tree
Hide file tree
Showing 4 changed files with 206 additions and 203 deletions.
2 changes: 2 additions & 0 deletions mak/MANIFEST
Expand Up @@ -112,6 +112,7 @@ MANIFEST=\
src\core\sys\osx\mach\thread_act.d \
\
src\core\sys\osx\sys\cdefs.d \
src\core\sys\osx\sys\event.d \
src\core\sys\osx\sys\mman.d \
\
src\core\sys\posix\config.d \
Expand Down Expand Up @@ -147,6 +148,7 @@ MANIFEST=\
src\core\sys\posix\sys\ioctl.d \
src\core\sys\posix\sys\ipc.d \
src\core\sys\posix\sys\mman.d \
src\core\sys\posix\sys\msg.d \
src\core\sys\posix\sys\resource.d \
src\core\sys\posix\sys\select.d \
src\core\sys\posix\sys\shm.d \
Expand Down
5 changes: 3 additions & 2 deletions posix.mak
Expand Up @@ -251,8 +251,9 @@ test/%/.run: test/%/Makefile
DRUNTIME=$(abspath $(DRUNTIME)) DRUNTIMESO=$(abspath $(DRUNTIMESO)) QUIET=$(QUIET) LINKDL=$(LINKDL)

#################### test for undesired white spaces ##########################
CWS_MAKEFILES = $(filter mak/% %.mak %/Makefile,$(MANIFEST))
NOT_MAKEFILES = $(filter-out $(CWS_MAKEFILES),$(MANIFEST))
CWS_MANIFEST = $(shell git ls-tree --name-only -r HEAD)
CWS_MAKEFILES = $(filter mak/% %.mak %/Makefile,$(CWS_MANIFEST))
NOT_MAKEFILES = $(filter-out $(CWS_MAKEFILES),$(CWS_MANIFEST))
GREP = grep

checkwhitespace:
Expand Down
24 changes: 12 additions & 12 deletions src/core/sys/osx/sys/event.d
Expand Up @@ -21,18 +21,18 @@ import core.sys.posix.time; // timespec

enum : short
{
EVFILT_READ = -1,
EVFILT_WRITE = -2,
EVFILT_AIO = -3, /* attached to aio requests */
EVFILT_VNODE = -4, /* attached to vnodes */
EVFILT_PROC = -5, /* attached to struct proc */
EVFILT_SIGNAL = -6, /* attached to struct proc */
EVFILT_TIMER = -7, /* timers */
EVFILT_MACHPORT = -8, /* Mach portsets */
EVFILT_FS = -9, /* filesystem events */
EVFILT_USER = -10, /* User events */
EVFILT_VM = -12, /* virtual memory events */
EVFILT_SYSCOUNT = 11
EVFILT_READ = -1,
EVFILT_WRITE = -2,
EVFILT_AIO = -3, /* attached to aio requests */
EVFILT_VNODE = -4, /* attached to vnodes */
EVFILT_PROC = -5, /* attached to struct proc */
EVFILT_SIGNAL = -6, /* attached to struct proc */
EVFILT_TIMER = -7, /* timers */
EVFILT_MACHPORT = -8, /* Mach portsets */
EVFILT_FS = -9, /* filesystem events */
EVFILT_USER = -10, /* User events */
EVFILT_VM = -12, /* virtual memory events */
EVFILT_SYSCOUNT = 11
}

extern(D) void EV_SET(kevent_t* kevp, typeof(kevent_t.tupleof) args)
Expand Down

0 comments on commit 42685fd

Please sign in to comment.