From 8ff3ec7ec97822043a09cf655c66516ee8107d98 Mon Sep 17 00:00:00 2001 From: "Taylor R. Campbell" Date: Mon, 22 Jan 2007 18:30:16 +0000 Subject: [PATCH] Use `OS_file_access', not `access', in `FILE_READABLE' macro. --- v7/src/microcode/boot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/microcode/boot.c b/v7/src/microcode/boot.c index 2d8ea3a83..67366b8b8 100644 --- a/v7/src/microcode/boot.c +++ b/v7/src/microcode/boot.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: boot.c,v 9.123 2007/01/22 08:43:09 riastradh Exp $ +$Id: boot.c,v 9.124 2007/01/22 18:30:16 riastradh Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -94,7 +94,7 @@ DECLARE_CRITICAL_SECTION (); #define main_name main #endif -#define FILE_READABLE(filename) ((access ((filename), 4)) >= 0) +#define FILE_READABLE(filename) (OS_file_access ((filename), 4)) int DEFUN (main_name, (argc, argv), -- 2.25.1