Mercurial > emacs
diff lib-src/movemail.c @ 601:3db1540d4b97
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 28 Mar 1992 21:00:42 +0000 |
parents | c8860f81ccf7 |
children | 63a8e7b3c547 |
line wrap: on
line diff
--- a/lib-src/movemail.c Wed Mar 25 09:20:50 1992 +0000 +++ b/lib-src/movemail.c Sat Mar 28 21:00:42 1992 +0000 @@ -104,7 +104,7 @@ long now; int tem; char *lockname, *p; - char tempname[40]; + char *tempname; int desc; #endif /* not MAIL_USE_FLOCK */ @@ -182,6 +182,7 @@ 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] != '/')