sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 0da1e1c6e694cf4fb35f9d9f0bdcd17f5b2e18f3
parent e1db2b0892fcef9484831923da78e2daadb2cb19
Author: Grant Hollingworth <grant@antiflux.org>
Date:   Thu, 24 Apr 2008 19:10:24 -0400

fixed dlopen of libc for os x

OS X likes to do its own thing.

Diffstat:
M lib/sup.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup.rb b/lib/sup.rb
@@ -14,7 +14,7 @@ require 'curses'
 require 'dl/import'
 module LibC
   extend DL::Importable
-  dlload "libc.so.6"
+  dlload Config::CONFIG['arch'] =~ /darwin/ ? "libc.dylib" : "libc.so.6"
   extern "void setlocale(int, const char *)"
 end
 LibC.setlocale(6, "")  # LC_ALL == 6