Change L_XTND to SEEK_END
authorTheodore Tso <tytso@mit.edu>
Wed, 10 Aug 1994 16:47:16 +0000 (16:47 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 10 Aug 1994 16:47:16 +0000 (16:47 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4116 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/popper/ChangeLog
src/appl/popper/pop_dropcopy.c

index 33a3946b2d225af2dbd0eb9f76aef176f144fb60..49cb5913d145cccc78aa9407b9b7a9c313bae422 100644 (file)
@@ -1,3 +1,7 @@
+Wed Aug 10 12:46:12 1994  Theodore Y. Ts'o  (tytso at tsx-11)
+
+       * pop_dropcopy.c (pop_dropcopy): Change L_XTND to SEEK_END.
+
 Tue Aug  9 16:50:08 1994  Tom Yu  (tlyu@dragons-lair)
 
        * configure.in: check for dbm as well as ndbm
index 6c93f77f2eb7d1e21e4f88edb2c009cd0eaefeb4..155408418fc178af41798b302be6ba4045686f80 100644 (file)
@@ -143,7 +143,7 @@ struct passwd       *       pwp;
 #endif
     
     /* 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) {