Bug 111126
Summary: | identify command adds extra newline to formatted output | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Rick Johnson <htmlspinnr> |
Component: | ImageMagick | Assignee: | Matthias Clasen <mclasen> |
Status: | CLOSED RAWHIDE | QA Contact: | Mike McLean <mikem> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-09-30 23:29:30 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rick Johnson
2003-11-27 18:44:53 UTC
File magick/command.c Line 3388: (void) ConcatenateString(&(*metadata),"\n"); Other lines like it exist within the source. Either this line, or the function ConcatenateString need to make concatenating a newline conditional on the format flag. If format is used and no "\n" is contained, no \n should be concatenated. Commenting out this line and rebuilding seems to solve my problem for script output, but probably breaks other functionality. It would appear that previous versions used something similar, so it would appear that an additional newline is being introduced within a different function. utilities/identify.c: Line 194: (void) fputc('\n',stdout); The presence of this as well as the initial line appears to be creating two newlines. IMHO, one or the other should go. the line within identify.c seems to have been present in previous (<=5.4.x) versions. Owner has patch 5.5.8 upstream beta, will be available via FTP within a couple of days. Reference http://studio.imagemagick.org/magick/viewtopic.php?p=2054#2054 -Rick Fixed at least in current ImageMagick-6.2.2.0-2.fc3. I suggest to close this. |