file locking on nfs? expiring old mail messages?
mwh at python.net
Fri Jan 24 19:06:43 CET 2003
strombrg at tesuji.nac.uci.edu (Dan Stromberg) writes:
> Does anyone have a python module that does procmail-style file locking
> in NFS volumes?
> I'm working on a program to delete old messages from an mbox-formatted
> mailbox, and could use proper locking. BTW, anybody already done this
> - expiring old mail, either in an mbox file, or over imap?
BUGS Never use this function. This function modifies its first
argument. The identity of the delimiting character is
lost. This function cannot be used on constant strings.
-- the glibc manpage for strtok(3)
More information about the Python-list