[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Questionable code - the bigger picture
From: |
Valdis . Kletnieks |
Subject: |
Re: [Nmh-workers] Questionable code - the bigger picture |
Date: |
Sat, 14 May 2005 17:05:17 -0400 |
On Sat, 14 May 2005 13:13:44 PDT, Norman Shapiro said:
> I accomplish a similar functionality with an sh function for use in scripts:
>
> newmh ()
> {
> local oldContext="${MHCONTEXT-context}";
> local path=`mhpath +`;
> export MHCONTEXT=,"$oldContext.$$";
> cp "$path/$oldContext" "$path/$MHCONTEXT"
> }
Note that there are still race conditions in this. True, they're small, but
still larger than "we never touch the context at all".
pgpePHEmDlamq.pgp
Description: PGP signature
- [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Jon Steinhart, 2005/05/13
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Neil W Rickert, 2005/05/14
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Jon Steinhart, 2005/05/14
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Neil W Rickert, 2005/05/14
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Josh Bressers, 2005/05/14
- Re: [Nmh-workers] Questionable code - the bigger picture, Jon Steinhart, 2005/05/14
- Re: [Nmh-workers] Questionable code - the bigger picture, Michael Richardson, 2005/05/14
- Re: [Nmh-workers] Questionable code - the bigger picture, Norman Shapiro, 2005/05/14
- Re: [Nmh-workers] Questionable code - the bigger picture,
Valdis . Kletnieks <=
- Re: [Nmh-workers] Questionable code - the bigger picture, Jeffrey C Honig, 2005/05/14
- Re: [Nmh-workers] Questionable code - the bigger picture, Josh Bressers, 2005/05/15
- Re: [Nmh-workers] Questionable code - the bigger picture, Jon Steinhart, 2005/05/17
- Re: [Nmh-workers] Questionable code - the bigger picture, Josh Bressers, 2005/05/17
- Re: [Nmh-workers] Questionable code - the bigger picture, Jon Steinhart, 2005/05/17
- Re: [Nmh-workers] Questionable code - the bigger picture, Josh Bressers, 2005/05/18
- Re: [Nmh-workers] Questionable code - the bigger picture, Mike O'Dell, 2005/05/18
- Re: [Nmh-workers] Questionable code - the bigger picture, Nathan Bailey, 2005/05/18
- Re: [Nmh-workers] Questionable code - the bigger picture, Mike O'Dell, 2005/05/18
- Re: [Nmh-workers] Questionable code - the bigger picture, Nathan Bailey, 2005/05/18