projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change random constants to be #defines
[unix-history]
/
usr
/
src
/
usr.sbin
/
sendmail
/
src
/
util.c
diff --git
a/usr/src/usr.sbin/sendmail/src/util.c
b/usr/src/usr.sbin/sendmail/src/util.c
index
d3a478c
..
595eb8e
100644
(file)
--- a/
usr/src/usr.sbin/sendmail/src/util.c
+++ b/
usr/src/usr.sbin/sendmail/src/util.c
@@
-7,7
+7,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)util.c 5.3
4
(Berkeley) %G%";
+static char sccsid[] = "@(#)util.c 5.3
5
(Berkeley) %G%";
#endif /* not lint */
# include <stdio.h>
#endif /* not lint */
# include <stdio.h>
@@
-702,10
+702,10
@@
fgetfolded(buf, n, f)
int nn;
nn = (p - bp);
int nn;
nn = (p - bp);
- if (nn <
1024
)
+ if (nn <
MEMCHUNKSIZE
)
nn *= 2;
else
nn *= 2;
else
- nn +=
1024
;
+ nn +=
MEMCHUNKSIZE
;
nbp = xalloc(nn);
bcopy(bp, nbp, p - bp);
p = &nbp[p - bp];
nbp = xalloc(nn);
bcopy(bp, nbp, p - bp);
p = &nbp[p - bp];