bugFreeciv - Bugs: bug #20492, PACKET_UNIT_INFO unused fields

 
 
Show feedback again

bug #20492: PACKET_UNIT_INFO unused fields

Submitted by:  pepeto <pepeto>
Submitted on:  Sun Feb 10 11:48:27 2013  
 
Category: generalSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: pepeto <pepeto>Open/Closed: Closed
Release: trunk r20790Operating System: None
Planned Release: 2.5.0Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri Feb 15 13:04:25 2013, SVN revision 22336:

Remove "changed_from_base" and "changed_from_road" fields from the PACKET_UNIT_INFO. They were not computed nor read anymore.

See gna bug #20492

(Browse SVN revision 22336)

pepeto <pepeto>
Project MemberIn charge of this item.
Sun Feb 10 11:48:27 2013, original submission:

When working on the protocol cleanup, I noticed some errors about strange values inserted as 8-bits integers.

At r20790 for patch #3093, the fields "changed_from_base" and "changed_from_road" should have been renamed "changed_from_tgt_base" and "changed_from_tgt_road", but for some reasons, those weren't removed after inserting the new fields.

It results that the server read and send uninitialized data to the client. But the client doesn't handle them anyway.

Fix attached, needs capability string change.

pepeto <pepeto>
Project MemberIn charge of this item.

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #17169:  packet_unused_fields.diff added by pepeto (407B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one

Digest:
   patch dependencies.

 

Carbon-Copy List
  • -unavailable- added by pepeto (Submitted the item)
  •  

    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.

     

    Error: not logged in

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Feb 15 13:04:45 2013pepetoStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
      Planned Release2.5=>2.5.0
    Wed Feb 13 17:10:38 2013pepetoAssigned toNone=>pepeto
    Sun Feb 10 11:48:27 2013pepetoAttached File-=>Added packet_unused_fields.diff, #17169
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup