emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c060e374a1: * src/filelock.c (lock_if_free): Fix Haiku positive e


From: Po Lu
Subject: master c060e374a1: * src/filelock.c (lock_if_free): Fix Haiku positive errno check.
Date: Mon, 10 Jan 2022 19:55:53 -0500 (EST)

branch: master
commit c060e374a15b54ce7861896602961330f9aa58c6
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    * src/filelock.c (lock_if_free): Fix Haiku positive errno check.
---
 src/filelock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/filelock.c b/src/filelock.c
index c3927f58fa..3555cfc251 100644
--- 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 BE_USE_POSITIVE_POSIX_ERRORS
+  || defined B_USE_POSITIVE_POSIX_ERRORS
   return err;
 #else
   /* On Haiku, POSIX errno values are negative by default, but this



reply via email to

[Prev in Thread] Current Thread [Next in Thread]