Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Apr 1995 23:55:30 -0700
From:      "Justin T. Gibbs" <gibbs@estienne.cs.berkeley.edu>
To:        Kai.Vorma@hut.fi
Cc:        "Jordan K. Hubbard" <jkh@freefall.cdrom.com>, "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>, jkh@freebsd.org (Jordan K. Hubbard), CVS-commiters@time.cdrom.com, cvs-ports@time.cdrom.com
Subject:   Re: cvs commit: ports/net/sup/patches patch-ae 
Message-ID:  <199504060655.XAA21894@estienne.cs.berkeley.edu>
In-Reply-To: Your message of "Thu, 06 Apr 1995 09:44:40 %2B0300." <199504060644.JAA25387@vinkku.hut.fi> 

next in thread | previous in thread | raw e-mail | index | archive | help
>Jordan K. Hubbard writes:
>
> > 1. Sorry, I thought he'd changed the manpage.  I'll document it if he
> >    doesn't beat me to it.
>
>Do it, please. My english is far from perfect..
>
> > 2. You turn it off by not creating a file with the special name.. :-)
>
>Jup. I thought about adding some flag for it, but consider:
>
>1) a flag that turns it on?
>
>    You forget once that flag and all your local modifications are
>    gone :-(
>
>2) a flag that turns it off?
>
>   Why? Just rename all #sup files back to normal. Of course sup could
>   do that for you but I tried to keep it simple.

It also doesn't work when the "delete" option is turned on so it gives
you a false sense of security.  SUP will go ahead and delete the file
you're working on.

Please, just back this out for now.  The real way to implement this is to
piggy back it ontop of my "rename" option that i've had working and tested
for months at TCS.  I was just cleaning up the comments so I could submit
it when this stuff allstarted to happen.  The rename option takes care of 
all of the delete problems and you can simply write your feature as an 
extension to it (ie pretend that we are renaming the destination file to 
filename.#sup and the rest of the book keeping is handled automatically).

>
> > 3. You would prefer that he simply not admit to the hackery? ;-)
>
>:-) I admit the patch wasn't very pretty. Sup itself is quite a mess
>(much of nice globals and interesting code-paths etc.) so I just
>decided to make as few modifications as possible.
>
>..vode

--
Justin T. Gibbs
==============================================
TCS Instructional Group - Programmer/Analyst 1
  Cory | Po | Danube | Volga | Parker | Torus
==============================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504060655.XAA21894>