diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-18 15:57:45 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-18 15:57:45 +0000 |
commit | 6a14fe48c61536241f4071b75df0bf8773c72e42 (patch) | |
tree | ff8946012e6aaf12b9d61e1a43fde58fdbb100df /nuttx/include/sys/stat.h | |
parent | a5d2dde9a837218f211a3a7210e247474bfa3680 (diff) | |
download | px4-nuttx-6a14fe48c61536241f4071b75df0bf8773c72e42.tar.gz px4-nuttx-6a14fe48c61536241f4071b75df0bf8773c72e42.tar.bz2 px4-nuttx-6a14fe48c61536241f4071b75df0bf8773c72e42.zip |
Disable line buffering if the file is opened in binary mode; Also fix a couple of fopen/fdopen bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4630 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/sys/stat.h')
-rw-r--r-- | nuttx/include/sys/stat.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/nuttx/include/sys/stat.h b/nuttx/include/sys/stat.h index bb166e7e2..5aa827f86 100644 --- a/nuttx/include/sys/stat.h +++ b/nuttx/include/sys/stat.h @@ -1,8 +1,8 @@ /**************************************************************************** * include/sys/stat.h * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Copyright (C) 2007-2009, 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -47,10 +47,9 @@ * Definitions ****************************************************************************/ -/* mode_t bit settings (most of these do not apply to Nuttx). - * This assumes that the full size of a mode_t is 16-bits. - * (However, mode_t must be size 'int' because it is promoted - * to size int when passed in varargs). +/* mode_t bit settings (most of these do not apply to Nuttx). This assumes + * that the full size of a mode_t is 16-bits. (However, mode_t must be size + * 'int' because it is promoted to size int when passed in varargs). */ #define S_IXOTH 0000001 /* Permissions for others: RWX */ |