git/list[1] front-page[2] threads[3] people[4] search[5] about
 

gitweb on OpenBSD (-T not supported on filesystems...)

From
APAndrew Pamment <andrew@mort-os.com>
Date
Sep 17, 2006, 08:45 UTC
Message-ID
<op.tf0k9fdvqpav6l@crystal.sienna.ath.cx>
Hi git people
I'm not sure if this is useful but I thought I would post it anyway,

in gitweb.cgi on line 1560 where you have -T testing a file descripter, it doesn't work on OpenBSD 3.9, which makes viewing blobs not work.

I solved this (or I think I have) by replacing $fd with $filename.
Andrew
-- 
Mort - http://www.mort-os.com/
Next: Jakub Narebski
Message 1 of 5 in “gitweb on OpenBSD (-T not supported on filesystems...)”
  1. Andrew PammentSep 17, 2006
  2. Jakub NarebskiSep 17, 2006
  3. Andrew PammentSep 17, 2006
  4. Jakub NarebskiSep 17, 2006
  5. Randal L. SchwartzSep 17, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.