summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rw-r--r--Build/source/texk/kpathsea/extend-fname.c5
-rw-r--r--Build/source/texk/kpathsea/readable.c6
-rw-r--r--Build/source/texk/kpathsea/rm-suffix.c4
4 files changed, 12 insertions, 8 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 2f541c6777a..c9c0a6fd255 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-27 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * extend-fname.c: Remove the `generic const warning'.
+ * readable.c, rm-suffix.c: Adjust the `generic const warning'.
+
2011-05-26 Peter Breitenlohner <peb@mppmu.mpg.de>
* db.c (kpathsea_db_search): Add `free (dir_part)'.
diff --git a/Build/source/texk/kpathsea/extend-fname.c b/Build/source/texk/kpathsea/extend-fname.c
index 022164c582b..b9938af1f27 100644
--- a/Build/source/texk/kpathsea/extend-fname.c
+++ b/Build/source/texk/kpathsea/extend-fname.c
@@ -1,6 +1,6 @@
/* extend-fname.c: give a filename a suffix, if necessary.
- Copyright 1992, 1993, 2008 Karl Berry.
+ Copyright 1992, 1993, 2008, 2011 Karl Berry.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -18,9 +18,6 @@
#include <kpathsea/config.h>
-/* We may or may not return NAME. It's up to the caller not to assume
- the return value is modifiable. */
-
const_string
extend_filename (const_string name, const_string default_suffix)
{
diff --git a/Build/source/texk/kpathsea/readable.c b/Build/source/texk/kpathsea/readable.c
index df3ddeb3a5c..394e3508d73 100644
--- a/Build/source/texk/kpathsea/readable.c
+++ b/Build/source/texk/kpathsea/readable.c
@@ -1,6 +1,6 @@
/* readable.c: check if a filename is a readable non-directory file.
- Copyright 1993, 1995, 1996, 2008 Karl Berry.
+ Copyright 1993, 1995, 1996, 2008, 2011 Karl Berry.
Copyright 1998, 1999, 2000, 2001, 2005 Olaf Weber.
This library is free software; you can redistribute it and/or
@@ -66,7 +66,9 @@ READABLE(const_string fn, unsigned int st)
filename components; the system's behavior is defined by the value of
the symbol _POSIX_NO_TRUNC, but you can't change it dynamically!
- Generic const return warning. See extend-fname.c. */
+ We may or may not return NAME. It's up to the caller not to assume
+ the return value is modifiable. */
+
string
kpathsea_readable_file (kpathsea kpse, const_string name)
diff --git a/Build/source/texk/kpathsea/rm-suffix.c b/Build/source/texk/kpathsea/rm-suffix.c
index 984a78cbd0a..49a100da3ee 100644
--- a/Build/source/texk/kpathsea/rm-suffix.c
+++ b/Build/source/texk/kpathsea/rm-suffix.c
@@ -1,6 +1,6 @@
/* rm-suffix.c: remove any suffix.
- Copyright 2008 Karl Berry.
+ Copyright 2008, 2011 Karl Berry.
Copyright 1992, 1993, 1995 Free Software Foundation, Inc.
Modified for kpathsea by Karl Berry.
@@ -20,7 +20,7 @@
#include <kpathsea/config.h>
-/* Generic const warning -- see extend-fname.c. */
+/* Generic const warning -- see readable.c. */
string
remove_suffix (const_string s)