projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5705644
)
* src/filelock.c (lock_if_free): Fix Haiku positive errno check.
author
Po Lu
<luangruo@yahoo.com>
Tue, 11 Jan 2022 00:51:53 +0000
(
00:51
+0000)
committer
Po Lu
<luangruo@yahoo.com>
Tue, 11 Jan 2022 00:51:53 +0000
(
00:51
+0000)
src/filelock.c
patch
|
blob
|
history
diff --git
a/src/filelock.c
b/src/filelock.c
index c3927f58fae56e1a045c44916d85bc762355c79d..3555cfc2519a271c48c598273669b2e4dbf632a8 100644
(file)
--- a/
src/filelock.c
+++ b/
src/filelock.c
@@
-617,7
+617,7
@@
lock_if_free (lock_info_type *clasher, char *lfname)
}
#if !defined HAIKU \
- || defined B
E
_USE_POSITIVE_POSIX_ERRORS
+ || defined B_USE_POSITIVE_POSIX_ERRORS
return err;
#else
/* On Haiku, POSIX errno values are negative by default, but this