On Tue, Jun 19, 2001 at 09:03:22AM -1000, Clifton Royston wrote:
> This has received only the most cursory testing so far, but it
> appears to work correctly to solve the problem of updating dates on the
> .user.pop files in server mode if keep-temp-drop set, and it doesn't
> look like it should affect or break anything else.
>
> Recommended for the adventurous and those who will do their own
> testing anyway; others may want to wait until it's in an official
> release.
Sorry, the mailing list seems to have stripped the attachment. Here
it is, pasted inline:
*** popper/pop_dropcopy.c 2001/06/02 02:24:34 1.1
--- popper/pop_dropcopy.c 2001/06/15 00:38:43
***************
*** 1645,1650 ****
--- 1645,1658 ----
* Because p->drop is used for bulletins. Right now it reverts back to
* regular mode if drop box open fails. </todo>
*/
+ if ( p->bKeep_temp_drop && p->server_mode ) {
+ /*
+ * keep-temp + server_mode: touch it to ensure access time is updated!
+ * (If we're not in server_mode it will get written, and if we
+ * aren't going to keep it, we don't care about the access time.)
+ */
+ touch_file( p->temp_drop, p->trace );
+ }
mfd = open ( p->drop_name, O_RDWR );
if ( mfd > 0 ) {
/*
--
Clifton Royston -- LavaNet Systems Architect -- [EMAIL PROTECTED]
WWJD? "JWRTFM!" - Scott Dorsey (kludge) "JWG" - Eddie Aikau