[prev in list] [next in list] [prev in thread] [next in thread]
List: graphicsmagick-commit
Subject: [GM-commit] GraphicsMagick: GetImageInfoAttribute(): For the "name" key, ret...
From: GraphicsMagick Commits <graphicsmagick-commit () lists ! sourceforge ! net>
Date: 2023-08-28 0:51:49
Message-ID: mailman.12061.1693183924.1374.graphicsmagick-commit () lists ! sourceforge ! net
[Download RAW message or body]
changeset bb42cd90ce6f in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=bb42cd90ce6f
summary: GetImageInfoAttribute(): For the "name" key, return the input file base name
diffstat:
ChangeLog | 4 ++++
magick/attribute.c | 2 ++
www/Changelog.html | 3 +++
3 files changed, 9 insertions(+), 0 deletions(-)
diffs (38 lines):
diff -r 91afa18a6161 -r bb42cd90ce6f ChangeLog
--- a/ChangeLog Sun Aug 27 13:08:31 2023 -0500
+++ b/ChangeLog Sun Aug 27 19:51:44 2023 -0500
@@ -1,5 +1,9 @@
2023-08-27 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
+ * magick/attribute.c (GetImageInfoAttribute): For the "name" key,
+ return the input file base name, until reason is found to do
+ otherwise.
+
* magick/utility.c (TranslateTextEx): Restore previous
functionality in which a NULL pointer is returned instead of an
empty string. Some algorithms are depending on this! Addresses
diff -r 91afa18a6161 -r bb42cd90ce6f magick/attribute.c
--- a/magick/attribute.c Sun Aug 27 13:08:31 2023 -0500
+++ b/magick/attribute.c Sun Aug 27 19:51:44 2023 -0500
@@ -2665,6 +2665,8 @@
{
if (LocaleNCompare("name",key,2) == 0)
{
+ /* What should this really be? */
+ GetPathComponent(image->magick_filename,BasePath,filename);
(void) strlcpy(attribute,filename,MaxTextExtent);
break;
}
diff -r 91afa18a6161 -r bb42cd90ce6f www/Changelog.html
--- a/www/Changelog.html Sun Aug 27 13:08:31 2023 -0500
+++ b/www/Changelog.html Sun Aug 27 19:51:44 2023 -0500
@@ -40,6 +40,9 @@
<p>2023-08-27 Bob Friesenhahn <<a class="reference external" \
href="mailto:bfriesen%40simple.dallas.tx.us">bfriesen<span> \
4;</span>simple<span>.</span>dallas<span>.</span>tx<span>.</span>us</a>></p>
<blockquote>
<ul class="simple">
+<li><p>magick/attribute.c (GetImageInfoAttribute): For the "name" key,
+return the input file base name, until reason is found to do
+otherwise.</p></li>
<li><p>magick/utility.c (TranslateTextEx): Restore previous
functionality in which a NULL pointer is returned instead of an
empty string. Some algorithms are depending on this! Addresses
_______________________________________________
Graphicsmagick-commit mailing list
Graphicsmagick-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-commit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic