diff options
Diffstat (limited to 'ash.c')
-rw-r--r-- | ash.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -6204,8 +6204,7 @@ retry: | |||
6204 | if (!iflag) | 6204 | if (!iflag) |
6205 | nr = safe_read(parsefile->fd, buf, BUFSIZ - 1); | 6205 | nr = safe_read(parsefile->fd, buf, BUFSIZ - 1); |
6206 | else { | 6206 | else { |
6207 | cmdedit_read_input((char*)cmdedit_prompt, buf); | 6207 | nr = cmdedit_read_input((char*)cmdedit_prompt, buf); |
6208 | nr = strlen(buf); | ||
6209 | } | 6208 | } |
6210 | } | 6209 | } |
6211 | #else | 6210 | #else |
@@ -9445,7 +9444,7 @@ static char *wordtext; /* text of last word returned by readtok | |||
9445 | 9444 | ||
9446 | static struct nodelist *backquotelist; | 9445 | static struct nodelist *backquotelist; |
9447 | static union node *redirnode; | 9446 | static union node *redirnode; |
9448 | struct heredoc *heredoc; | 9447 | static struct heredoc *heredoc; |
9449 | static int quoteflag; /* set if (part of) last token was quoted */ | 9448 | static int quoteflag; /* set if (part of) last token was quoted */ |
9450 | static int startlinno; /* line # where last token started */ | 9449 | static int startlinno; /* line # where last token started */ |
9451 | 9450 | ||
@@ -12917,7 +12916,7 @@ findvar(struct var **vpp, const char *name) | |||
12917 | /* | 12916 | /* |
12918 | * Copyright (c) 1999 Herbert Xu <herbert@debian.org> | 12917 | * Copyright (c) 1999 Herbert Xu <herbert@debian.org> |
12919 | * This file contains code for the times builtin. | 12918 | * This file contains code for the times builtin. |
12920 | * $Id: ash.c,v 1.10 2001/07/12 20:26:31 andersen Exp $ | 12919 | * $Id: ash.c,v 1.11 2001/07/17 01:12:35 andersen Exp $ |
12921 | */ | 12920 | */ |
12922 | static int timescmd (int argc, char **argv) | 12921 | static int timescmd (int argc, char **argv) |
12923 | { | 12922 | { |