* environ.cc (set_chunksize): Remove.
(parse_thing): Remove forkchunk entry. * fork.cc (child_copy): Drop handling external chunksize setting. * wincap.cc: Througout, drop chunksize. (wincapc::set_chunksize): Remove. * wincap.h (struct wincaps): Drop chunksize and declaration of set_chunksize.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* fork.cc
|
||||
|
||||
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006,
|
||||
2007, 2008, 2009 Red Hat, Inc.
|
||||
2007, 2008, 2009, 2010, 2011 Red Hat, Inc.
|
||||
|
||||
This file is part of Cygwin.
|
||||
|
||||
@@ -743,7 +743,7 @@ child_copy (HANDLE hp, bool write, ...)
|
||||
{
|
||||
char *low = va_arg (args, char *);
|
||||
char *high = va_arg (args, char *);
|
||||
DWORD todo = wincap.chunksize () ?: high - low;
|
||||
DWORD todo = high - low;
|
||||
char *here;
|
||||
|
||||
for (here = low; here < high; here += todo)
|
||||
|
Reference in New Issue
Block a user