Date: Sat, 26 May 2001 22:04:49 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Tim Van Holder" Message-Id: <2561-Sat26May2001220448+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: Subject: Re: POSIX requirements for stat()? References: Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Tim Van Holder" > Date: Sat, 26 May 2001 19:31:33 +0200 > > Does POSIX require the st_mode field to have a particular > layout, and does it require particular meanings for the > mode bits? No and no. > As it turns out, the Python 'stat' module > (attached) uses constants that don't match what DJGPP > puts into struct stat. I think this is a bug in Python. It shouldn't assume that st_mode bits have particular numeric values.