Commit graph

7 commits

Author SHA1 Message Date
Richard M. Stallman
b6606ad821 (getline): When a search of already-read input for CRLF
fails, store the fact that we've searched it and don't search it
again after reading more data.

(getline): When determining whether or not it's necessary
to grow the input buffer, take into account the null that's stored
at the end of already-read input in the buffer.
1994-10-24 04:41:21 +00:00
Richard M. Stallman
8148baf912 Only include ../src/config.h if HAVE_CONFIG_H is
defined, and if HAVE_CONFIG_H isn't defined, define
MAIL_USE_POP always (so that this file can be included in
other programs besides emacs).

Only declare h_errno if HAVE_H_ERRNO isn't defined or
HAVE_CONFIG_H isn't defined.

(find_crlf, getline): Instead of using strstr, use a
custom function for finding CRLF.
(my_strstr): Function deleted.
1994-10-19 22:52:57 +00:00
Richard M. Stallman
625ad89f2a Fix mismatch in conditionals. 1994-10-18 23:50:10 +00:00
Richard M. Stallman
6d68310438 (open, close, read, write): Add #undefs. 1994-10-18 19:09:07 +00:00
Richard M. Stallman
c9c3d8f648 Include ../src/config.h. 1994-10-18 07:36:39 +00:00
Richard M. Stallman
7a481e50f6 Don't declare malloc, realloc, free.
Don't include string.h or strings.h.
Include des.h before krb.h.
Do declare my_strstr.
(getline): Really use my_strstr.
Leave one empty place in server->buffer,
and put a null at the end of the data in it.
1994-10-18 07:34:59 +00:00
Richard M. Stallman
9c0f2dac9b Initial revision 1994-09-27 19:49:25 +00:00