git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@142 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Björn Groenvall
1995-10-04 15:25:08 +00:00
parent a5d93582df
commit 2d1c443ea0
2 changed files with 4 additions and 3 deletions

View File

@@ -12,9 +12,10 @@ static char SccsId[] = "@(#)@(#)pop_dropcopy.c 2.6 2.6 4/3/91";
#include <errno.h>
#include <stdio.h>
#include <sys/types.h>
#include <strings.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <fcntl.h>
#include <pwd.h>
#include "popper.h"
@@ -114,7 +115,7 @@ struct passwd * pwp;
}
/* May have grown or shrunk between open and lock! */
offset = lseek(dfd,0,L_XTND);
offset = lseek(dfd,0, SEEK_END);
/* Open the user's maildrop, If this fails, no harm in assuming empty */
if ((mfd = open(p->drop_name,O_RDWR)) > 0) {

View File

@@ -12,7 +12,7 @@ static char SccsId[] = "@(#)@(#)pop_dropinfo.c 2.1 2.1 3/18/91";
#include <errno.h>
#include <stdio.h>
#include <sys/types.h>
#include <strings.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/file.h>
#include "popper.h"