[Cgi-session-user] O_TRUNC change? (was: (Doc)bug 4.0.2: Automagic flushing)
Brought to you by:
sherzodr
From: Mark S. <ma...@su...> - 2005-09-13 03:20:02
|
On Mon, Sep 12, 2005 at 01:35:53AM -0400, Sherzod Ruzmetov wrote: > > So far few people complained about session not being automatically flushed, > but no one was able to recreate the problem in a test script. Matt LeBlanc noted to me that the call to sysopen() has changed in the default driver. In particular, the O_TRUNC attribute was removed. Anyone know why? His follow-up message to K.G. was along these lines, but we haven't gotten a response from K.G. yet. I researched O_TRUNC some and could find very little about when to use it and avoid it, so I can't recommend one variation as preferable over the other. However, I'm inclined to put it back how it was unless there is a compelling reason to change it, as that should maximize compatibility. Mark -- http://mark.stosberg.com/ |