From John Brezak <brezak@apollo.hp.com>.
[from 0927]
* configure.in: use KRB5_POSIX_LOCKS (from epeisach).
[from 0961]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4678
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Nov 18 01:15:58 1994 Mark Eichin <eichin@cygnus.com>
+
+ * configure.in: use KRB5_POSIX_LOCKS (from epeisach).
+
+Fri Nov 18 00:20:24 1994 Mark Eichin <eichin@cygnus.com>
+
+ * pop_send.c (pop_send): Only update last_msg if executing a RETR.
+ From John Brezak <brezak@apollo.hp.com>.
+
Wed Nov 2 21:09:38 1994 Theodore Y. Ts'o (tytso@dcl)
* popper.h: NULL should not be used as a character assignment
AC_CHECK_LIB(dbm,main)
CHECK_WAIT_TYPE
CHECK_FCNTL
-
-AC_HEADER_CHECK(flock.h,[echo found flock.h for non-posix locks],
-AC_COMPILE_CHECK([POSIX file locking -- structs and flags],
-[#include <sys/types.h>
-#include <fcntl.h>],
-[struct flock f; 1+F_SETLK;],
-AC_DEFINE(POSIX_FILE_LOCKS)))
+KRB5_POSIX_LOCKS
AC_HAVE_HEADERS(strings.h)
AC_HEADER_CHECK(unistd.h,AC_DEFINE(HAS_UNISTD_H))
(void)fputs(".\r\n",p->output);
(void)fflush(p->output);
+ /* If retrieving, update the last-message-accessed number
+ if it is lower than the retrieved message */
+ if ((mp->retr_flag == TRUE) && (p->last_msg < msg_num))
+ p->last_msg = msg_num;
+
return(POP_SUCCESS);
}