--20cf3071cc96c4ea8d04e69adb76
Content-Type: text/plain; charset=ISO-8859-1
Post by Lionel ConsCan anyone else reproduce the problem that ksh from ast-ksh.20130913
Attached (as "astksh20130913_cd_xattr_fifo_nonblock001.diff.txt") is a
patch which fixes the problem by using |O_NONBLOCK| automagically if
we operate on /dev/file/xattr at ... ...
Glenn: Is the patch Ok for you ?
---
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
--20cf3071cc96c4ea8d04e69adb76
Content-Type: text/plain; charset=US-ASCII;
name="astksh20130913_cd_xattr_fifo_nonblock001.diff.txt"
Content-Disposition: attachment;
filename="astksh20130913_cd_xattr_fifo_nonblock001.diff.txt"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hlpmgxsk0
ZGlmZiAtciAtdSBvcmlnaW5hbC9zcmMvbGliL2xpYmFzdC9wYXRoL3BhdGhjYW5vbi5jIGJ1aWxk
X3hhdHRyL3NyYy9saWIvbGliYXN0L3BhdGgvcGF0aGNhbm9uLmMKLS0tIHNyYy9saWIvbGliYXN0
L3BhdGgvcGF0aGNhbm9uLmMJMjAxMy0wOS0xMyAyMTowMTowNS4wMDAwMDAwMDAgKzAyMDAKKysr
IHNyYy9saWIvbGliYXN0L3BhdGgvcGF0aGNhbm9uLmMJMjAxMy0wOS0xNyAyMjo1NTowMS40MDMy
Nzg0NzIgKzAyMDAKQEAgLTQ4MCw5ICs0ODAsOSBAQAogCQkJCQkJZm9yIChyID0gYnVmICsgKHQg
LSByKTsgciA+IGJ1ZiAmJiAqKHIgLSAxKSA9PSAnLyc7IHItLSk7CiAJCQkJCQkqciA9IDA7CiAJ
CQkJCX0KLQkJCQkJaWYgKChkZXYtPmZkID0gb3BlbmF0KGRmZCwgYnVmLCBPX0lOVEVSQ0VQVHxP
X1JET05MWXxPX0NMT0VYRUN8ZGV2LT5vZm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