summaryrefslogtreecommitdiff
path: root/lib-src/movemail.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1992-03-28 21:00:42 +0000
committerRichard M. Stallman <rms@gnu.org>1992-03-28 21:00:42 +0000
commit032f531f2f3af5cdec8ecc0ef71a5f2be2a1555a (patch)
treebaaa1f0401d9feb17314df59cfb4f86efe631452 /lib-src/movemail.c
parentb0f81e99c18c564b7d45f2ddf5abde422bacd049 (diff)
downloademacs-032f531f2f3af5cdec8ecc0ef71a5f2be2a1555a.tar.gz
*** empty log message ***
Diffstat (limited to 'lib-src/movemail.c')
-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)
long now;
int tem;
char *lockname, *p;
- char tempname[40];
+ char *tempname;
int desc;
#endif /* not MAIL_USE_FLOCK */
@@ -182,6 +182,7 @@ main (argc, argv)
to bug-gnu-emacs@prep.ai.mit.edu so we can fix it. */
lockname = concat (inname, ".lock", "");
+ tempname = (char *) xmalloc (strlen (inname) + 20);
strcpy (tempname, inname);
p = tempname + strlen (tempname);
while (p != tempname && p[-1] != '/')