delorie.com/archives/browse.cgi | search |
Date: | Sat, 26 May 2001 22:04:49 +0300 |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be> |
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: | <CAEGKOHJKAAFPKOCLHDIIEKKCDAA.tim.van.holder@pandora.be> |
Subject: | Re: POSIX requirements for stat()? |
References: | <CAEGKOHJKAAFPKOCLHDIIEKKCDAA DOT tim DOT van DOT holder AT pandora DOT be> |
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 |
> From: "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be> > 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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |