bugGNU TeXmacs - Bugs: bug #2642, axiom.c: variable c should be int,...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #2642: axiom.c: variable c should be int, not char

Submitted by:  Ralf Treinen <treinen>
Submitted on:  Sun 23 Feb 2003 07:16:35 PM UTC  
 
Category: PluginsPriority: 5 - Normal
Item Group: ErrorStatus: Fixed
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: 1.0.1.4Release: None
Fixed Release: NoneFixed Release: 1.0.1.12
Keywords: 

Sat 31 May 2003 04:41:22 PM UTC, comment #2:

Fixed in texmacs-1.0.1.12

David Allouche <ddaa>
Project Administrator
Mon 10 Mar 2003 08:56:19 PM UTC, comment #1:

Patch is submitted (#1253)

Ralf Treinen <treinen>
Project Member
Sun 23 Feb 2003 07:16:35 PM UTC, original submission:

Here is a bug report that I just received. Since I am not sure
about the consequences of changing "char c" to "int c" I don't
won't to do the change myself:

From: Gerhard Tonn <GerhardTonn@gammatau.de>

char is per default unsigned on arm, powerpc and s390. There are several
warnings, e.g.

axiom/tm_axiom.c:60: warning: comparison is always false due to limited range
of data type

during build of your package that might cause a runtime error. Please check

http://buildd.debian.org/fetch.php?&pkg=texmacs&ver=1.0.1.4-2&arch=s390&stamp=10
45421473&file=log&as=raw

for details.

In your case the variable c should be defined as int. Defining it as
char is even wrong on i386, since the char 0xff is then interpreted as EOF.
On the platforms mentioned above the EOF condition is never true, leading to
an infinite loop.

Ralf Treinen <treinen>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 20 Apr 2004 11:48:56 AM UTCddaaCategoryConversion=>Plugins
Sat 31 May 2003 04:41:22 PM UTCddaaStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
  Fixed Release=>

Back to the top


Powered by Savane 3.1-cleanup1