projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c358da1
)
Fix a comment.
author
Eric Blake
<ebb9@byu.net>
Thu, 10 Jan 2008 23:36:17 +0000
(
00:36
+0100)
committer
Bruno Haible
<bruno@clisp.org>
Thu, 10 Jan 2008 23:36:17 +0000
(
00:36
+0100)
ChangeLog
patch
|
blob
|
history
lib/relocatable.h
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 7c7c88553dda985b0a8b065d7d879b8eb4741152..d50d64942684a1180a8b56e9681e83a1749a8574 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,7
@@
+2008-01-10 Eric Blake <ebb9@byu.net>
+
+ * lib/relocatable.h: Fix a comment.
+
2008-01-10 Eric Blake <ebb9@byu.net>
Share two-way algorithm.
2008-01-10 Eric Blake <ebb9@byu.net>
Share two-way algorithm.
diff --git
a/lib/relocatable.h
b/lib/relocatable.h
index 8f1e2aa1b6b377dcf03817680c1c469179169fe2..5dfd71083e5541551f9f3c9d5c270daa78984bab 100644
(file)
--- a/
lib/relocatable.h
+++ b/
lib/relocatable.h
@@
-54,9
+54,9
@@
extern RELOCATABLE_DLL_EXPORTED void
string that you can free with free() after casting it to 'char *'. */
extern const char * relocate (const char *pathname);
string that you can free with free() after casting it to 'char *'. */
extern const char * relocate (const char *pathname);
-/* Memory management: relocate()
leaks memory, because it has to construct
- a fresh pathname. If this is a problem because your program calls
- relocate() frequently, think about caching the result. Or free the
+/* Memory management: relocate()
potentially allocates memory, because it has
+ to construct a fresh pathname. If this is a problem because your program
+
calls
relocate() frequently, think about caching the result. Or free the
return value if it was different from the argument pathname. */
/* Convenience function:
return value if it was different from the argument pathname. */
/* Convenience function: