aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-01-01 16:50:03 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-01-01 16:50:03 +0000
commit26908ab5804006b4d2d336ae63ed1c7c150cdf8c (patch)
tree471c8db07c19f4cc7e22e7769af7826cb09f704a
parent5344c60dc10348ff1486b8d374d6e2f43a11388c (diff)
downloadandroid_external_libxml2-26908ab5804006b4d2d336ae63ed1c7c150cdf8c.tar.gz
android_external_libxml2-26908ab5804006b4d2d336ae63ed1c7c150cdf8c.tar.bz2
android_external_libxml2-26908ab5804006b4d2d336ae63ed1c7c150cdf8c.zip
one more doc patch from Charlie Bozeman. Daniel
* xmlmemory.c: one more doc patch from Charlie Bozeman. Daniel
-rw-r--r--ChangeLog4
-rw-r--r--xmlmemory.c12
2 files changed, 10 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index ac1693d4..d6def973 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jan 1 17:48:56 CET 2002 Daniel Veillard <daniel@veillard.com>
+
+ * xmlmemory.c: one more doc patch from Charlie Bozeman.
+
Mon Dec 31 17:35:40 CET 2001 Daniel Veillard <daniel@veillard.com>
* DOCBparser.c parser.c valid.c include/libxml/parserInternals.h
diff --git a/xmlmemory.c b/xmlmemory.c
index e5115702..e9ad74ed 100644
--- a/xmlmemory.c
+++ b/xmlmemory.c
@@ -1,5 +1,5 @@
/*
- * memory.c: libxml memory allocator wrapper.
+ * xmlmemory.c: libxml memory allocator wrapper.
*
* daniel@veillard.com
*/
@@ -156,7 +156,7 @@ xmlMallocLoc(size_t size, const char * file, int line)
if (!p) {
xmlGenericError(xmlGenericErrorContext,
- "xmlMalloc : Out of free space\n");
+ "xmlMallocLoc : Out of free space\n");
xmlMemoryDump();
return(NULL);
}
@@ -333,7 +333,7 @@ xmlMemFree(void *ptr)
error:
xmlGenericError(xmlGenericErrorContext,
- "xmlFree(%lX) error\n", (unsigned long) ptr);
+ "xmlMemFree(%lX) error\n", (unsigned long) ptr);
xmlMallocBreakpoint();
return;
}
@@ -346,7 +346,7 @@ error:
*
* a strdup() equivalent, with logging of the allocation info.
*
- * Returns a pointer to the new string or NULL if allocation error occured.
+ * Returns a pointer to the new string or NULL if allocation error occurred.
*/
char *
@@ -403,7 +403,7 @@ error:
*
* a strdup() equivalent, with logging of the allocation info.
*
- * Returns a pointer to the new string or NULL if allocation error occured.
+ * Returns a pointer to the new string or NULL if allocation error occurred.
*/
char *
@@ -414,7 +414,7 @@ xmlMemoryStrdup(const char *str) {
/**
* xmlMemUsed:
*
- * returns the amount of memory currenly allocated
+ * returns the amount of memory currently allocated
*
* Returns an int representing the amount of memory allocated.
*/