The following patch implements get-gid-from-name for SBCL. Unfortunately, it requires SBCL 1.0.10.31 or later for sb-posix support for getgrnam.
Cyrus
--- ../ORIGINAL/hunchentoot-0.14.2/unix-sbcl.lisp 2007-01-01 15:50:30.000000000 -0800 +++ unix-sbcl.lisp 2007-10-04 17:16:01.000000000 -0700 @@ -45,5 +45,4 @@
(defun get-gid-from-name (name) "Returns the GID for the group named NAME." - (declare (ignore name)) - (error "GET-GID-FROM-NAME not yet implemented for SBCL. Please send patches...")) + (sb-posix:group-gid (sb-posix:getgrnam name)))
On Sat, 6 Oct 2007 10:19:05 -0700, Cyrus Harmon ch-tbnl@bobobeach.com wrote:
The following patch implements get-gid-from-name for SBCL. Unfortunately, it requires SBCL 1.0.10.31 or later for sb-posix support for getgrnam.
Thanks. That it's in the new release now.