Modify

Opened 5 years ago

Last modified 4 years ago

#12572 new defect

ipcalc.sh script doesn't work correctly on 64-bit platforms.

Reported by: svalentine@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Attitude Adjustment 12.09 Beta
Keywords: ipcalc 64bit Cc:

Description

The compl math function in awk returns incorrect values on 64-bit platforms. This causes netmask calculations to return bad results. I've attached a patch file with a more portable implementation that uses xor rather than compl.

Attachments (1)

ipcalc_portability.patch (1.3 KB) - added by svalentine@… 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by svalentine@…

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.