diff --git a/code/unix-glibc2.lisp b/code/unix-glibc2.lisp
index affddd951d96e542b2ed627693ee31a86b88dcf0..2a9ef10c92b2c8d46c12c9fbccc4be5e66eaddf7 100644
--- a/code/unix-glibc2.lisp
+++ b/code/unix-glibc2.lisp
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/unix-glibc2.lisp,v 1.35 2005/01/27 15:23:33 rtoy Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/unix-glibc2.lisp,v 1.36 2005/10/10 20:31:13 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -3483,6 +3483,9 @@ in at a time in poll.")
 			 (setf len (length pending))
 			 (setf name-start 0)))
 		      ((= name-end len)
+		       (when (eq kind :directory)
+			 (setf (schar result new-fill-ptr) #\/)
+			 (incf new-fill-ptr))
 		       (return (subseq result 0 new-fill-ptr)))
 		      ((eq kind :directory)
 		       (setf (schar result new-fill-ptr) #\/)