Bug 150461 - broken printf format
Summary: broken printf format
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: wv
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Aurelien Bompard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-03-07 09:55 UTC by David Binderman
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-05-10 07:40:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Binderman 2005-03-07 09:55:38 UTC
Description of problem:

I just tried to compile wv-1.0.0-3 from Redhat Fedora Extras development
tree.

The compiler said

wvWare.c:1247: warning: repeated `-' flag in format
wvWare.c:1247: warning: repeated ` ' flag in format
wvWare.c:1247: warning: conversion lacks type at end of format

The source code is

          printf ("\n\\resizebox{%dpt}{%dpt}\
                  {\\includegraphics{%s.eps}}\
                  \n% -- %#.2x graphic -- \n", width, height, source,
graphicstype);

On the third line, suggest use %% for %. 



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Michael Schwendt 2005-05-10 07:40:41 UTC
Applied in CVS (devel). It's supposed to be a LaTeX comment.


Note You need to log in before you can comment on or make changes to this bug.