Mercurial > hg > xemacs-beta
view src/offix-types.h @ 4499:eb82259f265d
Port write-region-inhibit-sync, allowing avoidance of bad FS performance.
See http://shaver.off.net/diary/2008/05/25/fsyncers-and-curveballs/ for more
details.
2008-08-09 Aidan Kehoe <kehoea@parhasard.net>
Integrate Romain Francoise' 2005-09-14 (pre-GPLV3) GNU change,
which can allow much better performace with some stupid
filesystems:
* fileio.c (write_region_inhibit_fsync): New variable.
(Fwrite_region): Use it to skip call to fsync.
(syms_of_fileio): Initialize it.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sat, 09 Aug 2008 16:44:46 +0200 |
parents | 74fd4e045ea6 |
children | 697ef44129c6 |
line wrap: on
line source
/* Copyright (C) 1996 César Crusius This file is part of the DND Library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef INCLUDED_offix_types_h_ #define INCLUDED_offix_types_h_ #define DndNotDnd -1 #define DndUnknown 0 #define DndRawData 1 #define DndFile 2 #define DndFiles 3 #define DndText 4 #define DndDir 5 #define DndLink 6 #define DndExe 7 #define DndURL 8 #define DndMIME 9 #define DndEND 10 #endif /* INCLUDED_offix_types_h_ */