mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
Cleanup from vodz
This commit is contained in:
parent
044228d5ec
commit
bc4c030023
4
ash.c
4
ash.c
@ -6201,7 +6201,7 @@ preadfd(void)
|
|||||||
retry:
|
retry:
|
||||||
#ifdef BB_FEATURE_COMMAND_EDITING
|
#ifdef BB_FEATURE_COMMAND_EDITING
|
||||||
{
|
{
|
||||||
if (!iflag)
|
if (parsefile->fd)
|
||||||
nr = safe_read(parsefile->fd, buf, BUFSIZ - 1);
|
nr = safe_read(parsefile->fd, buf, BUFSIZ - 1);
|
||||||
else {
|
else {
|
||||||
nr = cmdedit_read_input((char*)cmdedit_prompt, buf);
|
nr = cmdedit_read_input((char*)cmdedit_prompt, buf);
|
||||||
@ -12916,7 +12916,7 @@ findvar(struct var **vpp, const char *name)
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1999 Herbert Xu <herbert@debian.org>
|
* Copyright (c) 1999 Herbert Xu <herbert@debian.org>
|
||||||
* This file contains code for the times builtin.
|
* This file contains code for the times builtin.
|
||||||
* $Id: ash.c,v 1.11 2001/07/17 01:12:35 andersen Exp $
|
* $Id: ash.c,v 1.12 2001/07/17 01:14:06 andersen Exp $
|
||||||
*/
|
*/
|
||||||
static int timescmd (int argc, char **argv)
|
static int timescmd (int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
@ -6201,7 +6201,7 @@ preadfd(void)
|
|||||||
retry:
|
retry:
|
||||||
#ifdef BB_FEATURE_COMMAND_EDITING
|
#ifdef BB_FEATURE_COMMAND_EDITING
|
||||||
{
|
{
|
||||||
if (!iflag)
|
if (parsefile->fd)
|
||||||
nr = safe_read(parsefile->fd, buf, BUFSIZ - 1);
|
nr = safe_read(parsefile->fd, buf, BUFSIZ - 1);
|
||||||
else {
|
else {
|
||||||
nr = cmdedit_read_input((char*)cmdedit_prompt, buf);
|
nr = cmdedit_read_input((char*)cmdedit_prompt, buf);
|
||||||
@ -12916,7 +12916,7 @@ findvar(struct var **vpp, const char *name)
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1999 Herbert Xu <herbert@debian.org>
|
* Copyright (c) 1999 Herbert Xu <herbert@debian.org>
|
||||||
* This file contains code for the times builtin.
|
* This file contains code for the times builtin.
|
||||||
* $Id: ash.c,v 1.11 2001/07/17 01:12:35 andersen Exp $
|
* $Id: ash.c,v 1.12 2001/07/17 01:14:06 andersen Exp $
|
||||||
*/
|
*/
|
||||||
static int timescmd (int argc, char **argv)
|
static int timescmd (int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user