Displaying 7 results from an estimated 7 matches for "xmldocsetrootelement".
Did you mean:
xmldocgetrootelement
2004 Aug 06
1
Icecast2: undefined reference to `xmlDocGetRootElement'
...`xmlIsBlankNode'
config.o: In function `_parse_logging':
config.o(.text+0x853): undefined reference to `xmlIsBlankNode'
config.o(.text+0x932): more undefined references to `xmlIsBlankNode' follow
stats.o: In function `stats_sendxml':
stats.o(.text+0x9eb): undefined reference to `xmlDocSetRootElement'
/usr/lib/libxml.so: undefined reference to `gzopen'
/usr/lib/libxml.so: undefined reference to `gzread'
/usr/lib/libxml.so: undefined reference to `gzclose'
/usr/lib/libxml.so: undefined reference to `gzwrite'
collect2: ld returned 1 exit status
What do I have to do to get thi...
2004 Aug 06
2
improved error.log output --diff
...client->con->ip);
if (!parameters_passed) {
doc = admin_build_sourcelist(source->mount);
admin_send_response(doc, client, response,
@@ -556,10 +556,10 @@
doc = xmlNewDoc("1.0");
node = xmlNewDocNode(doc, NULL, "iceresponse", NULL);
xmlDocSetRootElement(doc, node);
- DEBUG1("Response is %d", response);
+ DEBUG1("Response is %d, %s", response, client->con->ip);
if(listener != NULL) {
- INFO1("Admin request: client %d removed", id);
+ INFO1("Admin request: client %d removed, %s"...
2016 Apr 04
0
[PATCH 2/2] Use 'error' function for fprintf followed by exit.
...i], wrdoc, 1);
- if (wrnode == NULL) {
- fprintf (stderr, _("%s: xmlCopyNode failed\n"),
- guestfs_int_program_name);
- exit (EXIT_FAILURE);
- }
+ if (wrnode == NULL)
+ error (EXIT_FAILURE, 0, _("xmlCopyNode failed"));
xmlDocSetRootElement (wrdoc, wrnode);
- if (xmlSaveDoc (saveCtx, wrdoc) == -1) {
- fprintf (stderr, _("%s: xmlSaveDoc failed\n"),
- guestfs_int_program_name);
- exit (EXIT_FAILURE);
- }
+ if (xmlSaveDoc (saveCtx, wrdoc) == -1)
+ error (EXIT_FAILURE, 0, _(&...
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...;nodeTab[i], 1);
if (wrnode == NULL) {
- fprintf (stderr, _("%s: xmlCopyNode failed\n"), guestfs_int_program_name);
+ fprintf (stderr, _("%s: xmlCopyNode failed\n"),
+ guestfs_int_program_name);
exit (EXIT_FAILURE);
}
xmlDocSetRootElement (wrdoc, wrnode);
if (xmlSaveDoc (saveCtx, wrdoc) == -1) {
- fprintf (stderr, _("%s: xmlSaveDoc failed\n"), guestfs_int_program_name);
+ fprintf (stderr, _("%s: xmlSaveDoc failed\n"),
+ guestfs_int_program_name);
exit (EXIT_FAILURE)...
2015 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste.
---
align/scan.c | 35 ++++++++++---------
cat/cat.c | 39 +++++++++++----------
cat/filesystems.c | 69 +++++++++++++++++++-------------------
cat/log.c | 35 ++++++++++---------
cat/ls.c | 61 +++++++++++++++++----------------
df/main.c | 43 ++++++++++++------------
diff/diff.c | 67
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
Wherever we had code which did:
if (something_bad) {
perror (...);
exit (EXIT_FAILURE);
}
replace this with use of the error(3) function:
if (something_bad)
error (EXIT_FAILURE, errno, ...);
The error(3) function is supplied by glibc, or by gnulib on platforms
which don't have it, and is much more flexible than perror(3). Since
we already use error(3), there seems to be
2015 Feb 14
2
[PATCH 0/2] Change guestfs__*
libguestfs has used double and triple underscores in identifiers.
These aren't valid for global names in C++.
(http://stackoverflow.com/a/228797)
These large but completely mechanical patches change the illegal
identifiers to legal ones.
Rich.