]> git.ipfire.org Git - thirdparty/coreutils.git/commit
dd: use a more portable definition of O_FULLBLOCK
authorEric Blake <ebb9@byu.net>
Thu, 19 Mar 2009 19:14:26 +0000 (20:14 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 20 Mar 2009 14:16:50 +0000 (15:16 +0100)
commit0b47305caa39c0b11f0488f0cc115fd6b09f7922
tree386a0939f3e24277e491db07c55b7c2df45c31ef
parent25bbb44dbb4d44b9718338aedeeae5c379596edb
dd: use a more portable definition of O_FULLBLOCK

* src/dd.c (O_FULLBLOCK): Compute its value without using a 180KB
macro.  This avoids triggering a compilation failure with HP-UX's cc.
Reported by Matthew Woehlke.
src/dd.c