Date: Wed Sep 8 07:58:58 CEST 2004
User: Derick Rethans
Directory: xdebug
Log Message:
[0.25]
- Added patch to fix warnings and implicit declarations. (Based on a patch by
Reini Urban)
Modified files:
xdebug/debugclient/main.c (version: 1.28)
[FILE: /xdebug/debugclient/main.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- xdebug/debugclient/main.c:1.27 Sat Apr 17 08:24:06 2004 GMT
+++ xdebug/debugclient/main.c Wed Sep 08 03:58:58 2004 GMT
@@ -31,6 +31,7 @@
#endif
#include <stdlib.h>
#include <sys/stat.h>
+#include <string.h>
#ifdef HAVE_LIBEDIT
#include <signal.h>
@@ -250,7 +251,7 @@
/* If there is a 'previous' command, and when the command
* just consists of an "enter", then we set the command to
* the previous command. */
- if (prev_cmd && strlen(cmd) == 0 || (strlen(cmd) == 1 && cmd[0] == '\n')) {
+ if (prev_cmd && ((strlen(cmd) == 0) || (strlen(cmd) == 1 && cmd[0] == '\n'))) {
cmd = prev_cmd;
} else {
if (prev_cmd) {
Received on Wed Sep 08 2004 - 07:59:06 BST
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:02 BST