Bug 78481
| Summary: | bad source code | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | d.binderman |
| Component: | xloadimage | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | rvokal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 4.1-33 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-01-21 21:03:22 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: | |||
*** Bug 111531 has been marked as a duplicate of this bug. *** Still broken in Fedora Core 3, a couple of years later. added in -33 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2005-332.html |
Description of Problem: Hello there, I just tried to compile package xloadimage-4.1-24 from Redhat 8.0. Here are some of the compiler messages. sunraster.c:243: warning: too few arguments for format tiff.c:220: warning: too few arguments for format tiff.c:407: warning: too few arguments for format Here is a patch which fixes the messages. *** ./sunraster.c.old 2002-11-06 15:21:10.000000000 +0000 --- ./sunraster.c 2002-11-06 15:21:43.000000000 +0000 *************** *** 240,246 **** case RTIFF: /* sorry, don't even know what these are */ case RIFF: default: ! fprintf(stderr, "%s: Unsupported Sun Rasterfile image type (sorry)\n"); return(NULL); } --- 240,247 ---- case RTIFF: /* sorry, don't even know what these are */ case RIFF: default: ! fprintf(stderr, "%4s: Unsupported Sun Rasterfile image type (sorry)\n", ! header.type); return(NULL); } *** ./tiff.c.old 2002-11-06 15:21:58.000000000 +0000 --- ./tiff.c 2002-11-06 15:23:29.000000000 +0000 *************** *** 217,223 **** compressionName(info->compression)); } if (info->title) ! printf("Titled \"%s\""); printf("\n"); } --- 217,223 ---- compressionName(info->compression)); } if (info->title) ! printf("Titled \"%s\"", info->title); printf("\n"); } *************** *** 404,409 **** --- 404,410 ---- if (info.samplesperpixel != 3) { fprintf(stderr, "%s: Can't handle TIFF RGB images with %d samples per pixel, sorry\n", + fullname, info.samplesperpixel); image = NULL; break; Version-Release number of selected component (if applicable): How Reproducible: Steps to Reproduce: 1. 2. 3. Actual Results: Expected Results: Additional Information: