cvs: php-src /sapi/cli php_cli.c

From: Date: Sat, 07 Jan 2006 16:46:30 +0000
Subject: cvs: php-src /sapi/cli php_cli.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-36450@lists.php.net to get a copy of this message
helly Sat Jan 7 16:46:30 2006 UTC Modified files: /php-src/sapi/cli php_cli.c Log: - Show whether this is the shell or just the starnge mode http://cvs.php.net/viewcvs.cgi/php-src/sapi/cli/php_cli.c?r1=1.143&r2=1.144&diff_format=u Index: php-src/sapi/cli/php_cli.c diff -u php-src/sapi/cli/php_cli.c:1.143 php-src/sapi/cli/php_cli.c:1.144 --- php-src/sapi/cli/php_cli.c:1.143 Sun Jan 1 13:09:58 2006 +++ php-src/sapi/cli/php_cli.c Sat Jan 7 16:46:30 2006 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_cli.c,v 1.143 2006/01/01 13:09:58 sniper Exp $ */ +/* $Id: php_cli.c,v 1.144 2006/01/07 16:46:30 helly Exp $ */ #include "php.h" #include "php_globals.h" @@ -783,7 +783,11 @@ case 'a': /* interactive mode */ if (!interactive) { +#if (HAVE_LIBREADLINE || HAVE_LIBEDIT) && !defined(COMPILE_DL_READLINE) + printf("Interactive shell\n\n"); +#else printf("Interactive mode enabled\n\n"); +#endif fflush(stdout); interactive=1; }

« previous php.cvs (#36450) next »