Re: reply>> my first newbie question
Jacob Smullyan <[email protected]>
| Newsgroups | gmane.comp.web.skunkweb |
|---|---|
| Message-ID | <[email protected]> |
I will check in a fix for cygwin as soon as I can; unfortunately, I'm more than fully occupied with other work until early December, so this fix -- and other patches I've been sent -- will have to wait until then. I hope that December can see a good bit of skunkweb work, especially in the documentation area (hint, hint)!! js On Fri, Nov 21, 2003 at 05:16:25PM +0100, Tomastiq wrote: > > > Attached is a function that will return a sequence of indices into > > os.fstat's return tuple that should be acceptable for use. Let me know > > if this helps, or if I'm just embarrassing myself. > > Thanks Adam, but 2 notes: > > 1. Under cygwin it returns an empty tuple... > Under *nix, I don't know yet > Under win it's ok, I get back ST_MTIME (but it doesn't matter I was just curious) > 2. I'm a lazy coder, so my solution is something similar like this: > stat1=os.stat(<path_changed>) > filetime1=max(tmp_stat[ST_MTIME],tmp_stat[ST_CTIME]) > stat2=os.stat(<path_cache>) > filetime2=max(tmp_stat[ST_MTIME],tmp_stat[ST_CTIME]) > and compare these times. > > But - thank goodness - the maintainer of skunkWeb is not me, so... :) > > thx.toma > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Skunkweb-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/skunkweb-list >
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/vk7JuqamFyFXXLIRAo4KAKCeueL/2dmYPXRbFK5XneyemajlbACfRrjx 9VBYm/Gq1U4MNmqHvWMULKE= =tTZ5 -----END PGP SIGNATURE-----