(pop_updt): lseek before ftruncating the file. From

<map@stacken.kth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4247 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-12-29 15:37:24 +00:00
parent 6c65feaf64
commit 47a8db7b9f

View File

@@ -86,6 +86,7 @@ pop_updt (POP *p)
}
rewind(md);
lseek(mfd,0,SEEK_SET);
ftruncate(mfd,0) ;
/* Synch stdio and the kernel for the POP drop */