1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-06 15:49:35 +03:00

Fix for ticket #276. (CVS 897)

FossilOrigin-Name: 452128c6fd9a0d82bfab21374fc2041638d264db
This commit is contained in:
drh
2003-04-03 19:35:02 +00:00
parent 0d1a643aea
commit f539f6a7e9
3 changed files with 9 additions and 9 deletions

View File

@@ -12,7 +12,7 @@
** This file contains code to implement the "sqlite" command line
** utility for accessing SQLite databases.
**
** $Id: shell.c,v 1.67 2003/03/30 19:17:03 drh Exp $
** $Id: shell.c,v 1.68 2003/04/03 19:35:02 drh Exp $
*/
#include <stdlib.h>
#include <string.h>
@@ -1200,7 +1200,7 @@ int main(int argc, char **argv){
}
}else{
extern int isatty();
if( isatty(0) ){
if( isatty(fileno(stdout)) ){
char *zHome;
char *zHistory = 0;
printf(