Bug 79635 - broken source code
broken source code
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: efax (Show other bugs)
8.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-12-14 05:28 EST by d.binderman
Modified: 2007-04-18 12:49 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-05-20 08:42:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description d.binderman 2002-12-14 05:28:20 EST
Description of problem:

Hello there,

I just tried to compile package efax-0.9-16 from Redhat 8.0.

Here are some of the compiler messages.

efax.c:763: warning: operation on `rd_state' may be undefined

Here is a patch which shuts up the compiler.

*** ./efax.c.old	2002-11-25 11:31:51.000000000 +0000
--- ./efax.c	2002-11-25 11:32:24.000000000 +0000
***************
*** 759,765 ****
  	c = tgetd ( f, TO_CHAR ) ;
  
  	rd_state = ( rd_state & rd_allowed[c] ) ?
! 	  ( ( rd_state & rd_nexts[c] ) ? rd_state <<= 1 : rd_state ) : 
  	  RD_BEGIN ;
  
  	if ( rd_state == RD_END )
--- 759,765 ----
  	c = tgetd ( f, TO_CHAR ) ;
  
  	rd_state = ( rd_state & rd_allowed[c] ) ?
! 	  ( ( rd_state & rd_nexts[c] ) ? rd_state << 1 : rd_state ) : 
  	  RD_BEGIN ;
  
  	if ( rd_state == RD_END )


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


How reproducible:


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


Expected results:


Additional info:
Comment 1 Ngo Than 2003-05-20 08:42:55 EDT
it's fixed in 0.9-18. thanks for your patch file

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