Deleted Added
full compact
39c39
< __FBSDID("$FreeBSD: head/bin/sh/input.c 245676 2013-01-19 22:12:08Z jilles $");
---
> __FBSDID("$FreeBSD: head/bin/sh/input.c 248980 2013-04-01 17:18:22Z jilles $");
69c69
< char *prevstring;
---
> const char *prevstring;
86c86
< char *nextc; /* next char in buffer */
---
> const char *nextc; /* next char in buffer */
96c96
< char *parsenextc; /* copy of parsefile->nextc */
---
> const char *parsenextc; /* copy of parsefile->nextc */
188c188
< memcpy(parsenextc, rl_cp, nr);
---
> memcpy(parsefile->buf, rl_cp, nr);
197c197
< nr = read(parsefile->fd, parsenextc, BUFSIZ);
---
> nr = read(parsefile->fd, parsefile->buf, BUFSIZ);
255c255
< q = p = parsenextc;
---
> q = p = parsefile->buf + (parsenextc - parsefile->buf);
442c442
< setinputstring(char *string, int push)
---
> setinputstring(const char *string, int push)