Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
abcbb24c
Commit
abcbb24c
authored
8 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
sem_open(): Fix a compiler error introduced with the setvbuf() changes.
parent
03120aca
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
fs/semaphore/sem_open.c
+0
-1
0 additions, 1 deletion
fs/semaphore/sem_open.c
libc/Kconfig
+4
-3
4 additions, 3 deletions
libc/Kconfig
with
4 additions
and
4 deletions
fs/semaphore/sem_open.c
+
0
−
1
View file @
abcbb24c
...
...
@@ -142,7 +142,6 @@ FAR sem_t *sem_open (FAR const char *name, int oflags, ...)
/* Something exists at this path. Get the search results */
inode
=
desc
.
node
;
relpath
=
desc
.
relpath
;
DEBUGASSERT
(
inode
!=
NULL
);
/* Verify that the inode is a semaphore */
...
...
This diff is collapsed.
Click to expand it.
libc/Kconfig
+
4
−
3
View file @
abcbb24c
...
...
@@ -14,9 +14,10 @@ config STDIO_DISABLE_BUFFERING
NOTE that even if STDIO buffering is enabled, you can still disable
buffer by setting CONFIG_STDIO_BUFFER_SIZE=0 or dynamically through
the setvbuf() interface. In these case, however, there is no
reduction in code size. Only setting CONFIG_STDIO_DISABLE_BUFFERING
will reduce code size.
the setvbuf() interface. In this case, however, memory used for
buffering will be eliminated, of course, buth there will be no
reduction in static code size. Only setting
CONFIG_STDIO_DISABLE_BUFFERING will reduce static code size.
if !STDIO_DISABLE_BUFFERING
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment