Use a more understandable name
This commit is contained in:
parent
c77cb63df1
commit
774aa3984a
|
@ -1184,7 +1184,7 @@ cfs_write(int fd, const void *buf, unsigned size)
|
||||||
|
|
||||||
#if COFFEE_MICRO_LOGS
|
#if COFFEE_MICRO_LOGS
|
||||||
#if COFFEE_IO_SEMANTICS
|
#if COFFEE_IO_SEMANTICS
|
||||||
if(!(fdp->io_flags & CFS_COFFEE_IO_TOGGLE_ONLY) &&
|
if(!(fdp->io_flags & CFS_COFFEE_IO_FLASH_AWARE) &&
|
||||||
(FILE_MODIFIED(file) || fdp->offset < file->end)) {
|
(FILE_MODIFIED(file) || fdp->offset < file->end)) {
|
||||||
#else
|
#else
|
||||||
if(FILE_MODIFIED(file) || fdp->offset < file->end) {
|
if(FILE_MODIFIED(file) || fdp->offset < file->end) {
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
*
|
*
|
||||||
* \sa cfs_coffee_set_io_semantics()
|
* \sa cfs_coffee_set_io_semantics()
|
||||||
*/
|
*/
|
||||||
#define CFS_COFFEE_IO_TOGGLE_ONLY 0x1
|
#define CFS_COFFEE_IO_FLASH_AWARE 0x1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Instruct Coffee not to attempt to extend the file when there is
|
* Instruct Coffee not to attempt to extend the file when there is
|
||||||
|
@ -61,7 +61,7 @@
|
||||||
*
|
*
|
||||||
* \sa cfs_coffee_set_io_semantics()
|
* \sa cfs_coffee_set_io_semantics()
|
||||||
*/
|
*/
|
||||||
#define CFS_COFFEE_IO_FIRM_SIZE 0x2
|
#define CFS_COFFEE_IO_FIRM_SIZE 0x2
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file
|
* \file
|
||||||
|
|
Loading…
Reference in a new issue