From fcaa6bb850965eec7e0557d60523676bb396cb81 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sat, 24 Feb 1996 13:25:16 +0000 Subject: [PATCH] Directory reader should treat "c:\\cph" differently from "c:\\cph\\", because the runtime system expects the former to return a listing for the directory file itself, and the latter to return a listing of the directory's contents. --- v7/src/microcode/os2fs.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/v7/src/microcode/os2fs.c b/v7/src/microcode/os2fs.c index f24b671e5..b2d6b18b7 100644 --- a/v7/src/microcode/os2fs.c +++ b/v7/src/microcode/os2fs.c @@ -1,8 +1,8 @@ /* -*-C-*- -$Id: os2fs.c,v 1.7 1995/11/06 21:51:37 cph Exp $ +$Id: os2fs.c,v 1.8 1996/02/24 13:25:16 cph Exp $ -Copyright (c) 1994-95 Massachusetts Institute of Technology +Copyright (c) 1994-96 Massachusetts Institute of Technology This material was developed by the Scheme project at the Massachusetts Institute of Technology, Department of Electrical Engineering and @@ -348,8 +348,6 @@ OS_directory_open (const char * search_pattern) unsigned int len = (strlen (pattern)); if ((len > 0) && ((pattern [len - 1]) == '\\')) strcat (pattern, "*"); - else if (OS_file_directory_p (pattern)) - strcat (pattern, "\\*"); } (s -> handle) = HDIR_CREATE; (s -> count) = 1; -- 2.25.1