aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman1992-03-28 21:00:42 +0000
committerRichard M. Stallman1992-03-28 21:00:42 +0000
commit906ad89def9657f1d594c5c315ddf2c2579a782e (patch)
treec0102b61174e2ba791b8994d41ec3b308cd9dfd9 /lib-src
parentf048679d0ab4eb630593e7585b22c118b84719fc (diff)
downloademacs-906ad89def9657f1d594c5c315ddf2c2579a782e.tar.gz
emacs-906ad89def9657f1d594c5c315ddf2c2579a782e.zip
*** empty log message ***
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/movemail.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index 27ce3f4b61e..d1294788a9b 100644
--- a/lib-src/movemail.c
+++ b/lib-src/movemail.c
@@ -104,7 +104,7 @@ main (argc, argv)
104 long now; 104 long now;
105 int tem; 105 int tem;
106 char *lockname, *p; 106 char *lockname, *p;
107 char tempname[40]; 107 char *tempname;
108 int desc; 108 int desc;
109#endif /* not MAIL_USE_FLOCK */ 109#endif /* not MAIL_USE_FLOCK */
110 110
@@ -182,6 +182,7 @@ main (argc, argv)
182 to bug-gnu-emacs@prep.ai.mit.edu so we can fix it. */ 182 to bug-gnu-emacs@prep.ai.mit.edu so we can fix it. */
183 183
184 lockname = concat (inname, ".lock", ""); 184 lockname = concat (inname, ".lock", "");
185 tempname = (char *) xmalloc (strlen (inname) + 20);
185 strcpy (tempname, inname); 186 strcpy (tempname, inname);
186 p = tempname + strlen (tempname); 187 p = tempname + strlen (tempname);
187 while (p != tempname && p[-1] != '/') 188 while (p != tempname && p[-1] != '/')