changes for the Mac

This commit is contained in:
Guido van Rossum 1995-01-27 02:41:45 +00:00
parent f808012f5e
commit 7e4b2def34
5 changed files with 111 additions and 11 deletions

View file

@ -100,6 +100,13 @@ def isdir(s):
return S_ISDIR(st[ST_MODE])
# Return true if the pathname refers to a symbolic link.
# (Always false on the Mac, until we understand Aliases.)
def islink(s):
return 0
# Return true if the pathname refers to an existing regular file.
def isfile(s):