mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
Got an OSF/1 bug report fixing related problems:
- xmlversion.h.in nanoftp.c nanohttp.c: traying to work out the problem of socklen_t being undefined on a number of platforms - debugXML.c: fixed a compilation problem when without snprintf Daniel
This commit is contained in:
@ -1596,7 +1596,7 @@ xmlShell(xmlDocPtr doc, char *filename, xmlShellReadlineFunc input,
|
||||
#ifdef HAVE_SNPRINTF
|
||||
snprintf(prompt, sizeof(prompt), "%s > ", ctxt->node->name);
|
||||
#else
|
||||
sprintf(buf, "%s > ", ctxt->node->name);
|
||||
sprintf(prompt, "%s > ", ctxt->node->name);
|
||||
#endif
|
||||
else
|
||||
sprintf(prompt, "? > ");
|
||||
|
Reference in New Issue
Block a user