check mod time on .pag file instead of .dir -- it gets updated
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Sun, 30 May 1993 23:55:08 +0000 (15:55 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Sun, 30 May 1993 23:55:08 +0000 (15:55 -0800)
more reliably

SCCS-vsn: usr.sbin/sendmail/src/map.c 6.26

usr/src/usr.sbin/sendmail/src/map.c

index 1b3057a..83ebd65 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)map.c      6.25 (Berkeley) %G%";
+static char sccsid[] = "@(#)map.c      6.26 (Berkeley) %G%";
 #endif /* not lint */
 
 #include "sendmail.h"
 #endif /* not lint */
 
 #include "sendmail.h"
@@ -385,7 +385,7 @@ ndbm_map_open(map, mode)
        }
        map->map_db1 = (void *) dbm;
        if (mode == O_RDONLY && bitset(MF_ALIAS, map->map_mflags))
        }
        map->map_db1 = (void *) dbm;
        if (mode == O_RDONLY && bitset(MF_ALIAS, map->map_mflags))
-               aliaswait(map, ".dir");
+               aliaswait(map, ".pag");
        return TRUE;
 }
 
        return TRUE;
 }