git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 1/2] config.mak.uname: OpenBSD uses BSD semantics with fread for directories
@ 2018-12-02  2:43 Carlo Marcelo Arenas Belón
  2018-12-02  2:51 ` Carlo Arenas
  0 siblings, 1 reply; 2+ messages in thread
From: Carlo Marcelo Arenas Belón @ 2018-12-02  2:43 UTC (permalink / raw)
  To: git

this "fixes" test 23 (proper error on directory "files") from t1308

MirBSD likely also affected but this was only tested with OpenBSD and
therefore this specific change only affects that platform

the optional 'configure' sets this automatically (tested with 6.1 to 6.4)
but considering this is a legacy feature it is likely that it affected
all old versions and is probably what most users had been using as a
workaround

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
---
 config.mak.uname | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config.mak.uname b/config.mak.uname
index 3ee7da0e23..378ca0a582 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -233,6 +233,7 @@ ifeq ($(uname_S),OpenBSD)
 	HAVE_BSD_SYSCTL = YesPlease
 	HAVE_BSD_KERN_PROC_SYSCTL = YesPlease
 	PROCFS_EXECUTABLE_PATH = /proc/curproc/file
+	FREAD_READS_DIRECTORIES = UnfortunatelyYes
 endif
 ifeq ($(uname_S),MirBSD)
 	NO_STRCASESTR = YesPlease
-- 
2.20.0.rc2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/2] config.mak.uname: OpenBSD uses BSD semantics with fread for directories
  2018-12-02  2:43 [PATCH 1/2] config.mak.uname: OpenBSD uses BSD semantics with fread for directories Carlo Marcelo Arenas Belón
@ 2018-12-02  2:51 ` Carlo Arenas
  0 siblings, 0 replies; 2+ messages in thread
From: Carlo Arenas @ 2018-12-02  2:51 UTC (permalink / raw)
  To: git

FWIW this patch doesn't have any other siblings and subject should had
been just [PATCH]; apologize for the confusion and the spam (including
that other duplicated email, and most likely this one)

Carlo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-02  2:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-02  2:43 [PATCH 1/2] config.mak.uname: OpenBSD uses BSD semantics with fread for directories Carlo Marcelo Arenas Belón
2018-12-02  2:51 ` Carlo Arenas

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).