mirror of
https://github.com/GNOME/libxml2.git
synced 2025-02-17 18:19:32 +08:00
another fix needed as pointed by Christophe Merlet for --stream --debug if
* xmllint.c: another fix needed as pointed by Christophe Merlet for --stream --debug if compiled without debug support. Daniel
This commit is contained in:
parent
7e54be15b5
commit
56ada1ddbb
@ -1,7 +1,12 @@
|
||||
Tue Jan 7 12:12:45 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xmllint.c: another fix needed as pointed by Christophe Merlet
|
||||
for --stream --debug if compiled without debug support.
|
||||
|
||||
Mon Jan 6 20:53:08 MST 2003 John Fleck <jfleck@inkstain.net>
|
||||
|
||||
* doc/xmllint.xml
|
||||
* doc/xmllint.1
|
||||
* doc/xmllint.1:
|
||||
update man page with --stream and --chkregister
|
||||
|
||||
Tue Jan 7 01:17:26 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
@ -510,6 +510,7 @@ xmlHTMLValidityWarning(void *ctx, const char *msg, ...)
|
||||
* Shell Interface *
|
||||
* *
|
||||
************************************************************************/
|
||||
#ifdef LIBXML_DEBUG_ENABLED
|
||||
/**
|
||||
* xmlShellReadline:
|
||||
* @prompt: the prompt value
|
||||
@ -550,6 +551,7 @@ xmlShellReadline(char *prompt) {
|
||||
return(ret);
|
||||
#endif
|
||||
}
|
||||
#endif /* LIBXML_DEBUG_ENABLED */
|
||||
|
||||
/************************************************************************
|
||||
* *
|
||||
@ -1215,10 +1217,11 @@ main(int argc, char **argv) {
|
||||
|
||||
if (argv[i][0] != '-')
|
||||
continue;
|
||||
#ifdef LIBXML_DEBUG_ENABLED
|
||||
if ((!strcmp(argv[i], "-debug")) || (!strcmp(argv[i], "--debug")))
|
||||
debug++;
|
||||
else if ((!strcmp(argv[i], "-shell")) ||
|
||||
else
|
||||
#ifdef LIBXML_DEBUG_ENABLED
|
||||
if ((!strcmp(argv[i], "-shell")) ||
|
||||
(!strcmp(argv[i], "--shell"))) {
|
||||
shell++;
|
||||
noout = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user