[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Sat Apr 3 16:39:20 CEST 2010


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	10/04/03 16:39:20

Modified files:
	cm3/m3-libs/sysutils/src/: m3makefile 
	cm3/m3-libs/sysutils/src/POSIX/: FSUnixC.c m3makefile 
	cm3/m3-libs/sysutils/src/WIN32/: FSysWin32.m3 

Log message:
	improve Win32 IsReadable/IsWritable/IsExecutable, esp. IsExecutable
	msvcrt provides access(), use it first
	for IsExecutable:
	case insensitive
	check for .cmd and .bat besides .exe and .com
	
	possibly use of access() is a step backwards,
	possibly we should eliminate rather than add
	use of C runtime, and just use kernel32.GetFileAttributes directly
	
	as well the posix versions ought to be put in a shared location




More information about the M3commit mailing list