Print this page
12365 pwritev64 can't write at offsets between [2 GiB, 4 GiB)
Portions contributed by: John Levon <john.levon@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
*** 9,19 ****
# http://www.illumos.org/license/CDDL.
#
#
# Copyright (c) 2012, 2016 by Delphix. All rights reserved.
! # Copyright 2019 Joyent, Inc.
#
SUBDIRS_i386 = i386
SUBDIRS = \
--- 9,19 ----
# http://www.illumos.org/license/CDDL.
#
#
# Copyright (c) 2012, 2016 by Delphix. All rights reserved.
! # Copyright 2020 Joyent, Inc.
#
SUBDIRS_i386 = i386
SUBDIRS = \
*** 28,38 ****
spoof-ras \
stress \
$(SUBDIRS_$(MACH))
PROGS = \
! odirectory
CPPFLAGS += -D_REENTRANT
PROGS32 = $(PROGS:%=%.32)
PROGS64 = $(PROGS:%=%.64)
--- 28,39 ----
spoof-ras \
stress \
$(SUBDIRS_$(MACH))
PROGS = \
! odirectory \
! writev
CPPFLAGS += -D_REENTRANT
PROGS32 = $(PROGS:%=%.32)
PROGS64 = $(PROGS:%=%.64)
*** 42,51 ****
--- 43,56 ----
$(SCRIPTS:%=$(ROOTOPTDIR)/%)
odirectory.32 := LDLIBS += -lsocket
odirectory.64 := LDLIBS64 += -lsocket
+ writev.32 := CPPFLAGS += -D_FILE_OFFSET_BITS=64
+ writev.32 := CSTD = $(CSTD_GNU99)
+ writev.64 := CSTD = $(CSTD_GNU99)
+
include $(SRC)/cmd/Makefile.cmd
all := TARGET = all
install := TARGET = install
clean := TARGET = clean