projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
further fixes to leading space issue (forgot the wide versions)
[musl]
/
src
/
stdio
/
__lockfile.c
diff --git
a/src/stdio/__lockfile.c
b/src/stdio/__lockfile.c
index
6ebf620
..
3bf3c26
100644
(file)
--- a/
src/stdio/__lockfile.c
+++ b/
src/stdio/__lockfile.c
@@
-8,7
+8,7
@@
int __lockfile(FILE *f)
return 0;
while ((owner = a_cas(&f->lock, 0, tid)))
__wait(&f->lock, &f->waiters, owner, 1);
return 0;
while ((owner = a_cas(&f->lock, 0, tid)))
__wait(&f->lock, &f->waiters, owner, 1);
- return
f->lockcount =
1;
+ return 1;
}
void __unlockfile(FILE *f)
}
void __unlockfile(FILE *f)