/[Apache-SVN]
ViewVC logotype

Revision 1001196


Jump to revision: Previous Next
Author: fdmanana
Date: Sat Sep 25 11:26:39 2010 UTC (13 years, 7 months ago)
Changed paths: 1
Log Message:
Explicitely close the file descriptor. It doesn't hurt.
Also, since we open the file in 'raw' mode, I suspect the file descriptor is not closed when the couch_file server dies.

From erl -man file:

"The raw option allows faster access to a file, because no Erlang process is needed to handle the file."

For me, no Erlang process handling the file means that it's likely the file is not closed by any other process.




Changed paths

Path Details
Directorycouchdb/trunk/src/couchdb/couch_file.erl modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26