Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2554 closed Bug (fixed)

JSON_int_t won't use "long long int" unless STDC_VERSION is defined

Reported by: charles Owned by: charles
Priority: Normal Milestone: 1.77
Component: Transmission Version: 1.76
Severity: Normal Keywords:
Cc:

Description

Reported by fgs in #transmission:

14:54 -!- fgs has joined #transmission
14:54 < fgs> hi
14:54 < fgs> is this known?
14:54 < fgs>    1   -261%  -1064159772 bytes  Unknown      0.0     0.0   0.55  Uploading    Torrentname
14:54 < fgs> couldn't find any bug report
14:54 < fgs> but i remember reading something about negative values
14:54 < fgs> i might be wrong
14:55 < fgs> btw, i'm running 1.76
14:55 < Lacrocivious> On?
14:56 < Lacrocivious> Is that a line from transmission-daemon?
14:56 < fgs> transmission-remote -l
14:56 < fgs> ui via web looks fine
14:57 < Lacrocivious> I've not seen that; I'll let someone else hop in if they have any information
14:57 < fgs> maybe i should just fill the report
14:57 < Lacrocivious> Is the torrent actively sending/receiving?
14:57 < Lacrocivious> That would probably be best, yes
14:58 < fgs> just uploading
14:58 < fgs> i have a few of those, though
14:58 < fgs> different states
14:58 < Lacrocivious> All giving negative values?
14:58 < fgs>   22   100%  -1420825707 bytes  Unknown      0.0     0.0   0.11  Seeding      Torrent2name
15:02 < Lacrocivious> You BSD?
15:04 < fgs> i'm not BSD but i run BSD :-)
15:05 < Lacrocivious> Heh
15:05 < Lacrocivious> Wondering whether UFS was freaking out on 8GB files
15:05 < fgs> come on man, it's 2009
15:06 < Lacrocivious> Chastisement taken: 'Max file size I2^73 bytes (8 ZiB)' ;-)
15:07 < Lacrocivious> Do be sure to mention your OS and filesystem in the ticket, though; it might be useful
15:10 < fgs> i think i will send a diff too :-)
16:34 < fgs> aha
16:44 < fgs> HAVE_LONG_LONG is never defined, and if your system does not define STDC_VERSION you're screwed. JSON_int_t will be long rather 
             than long long
16:44 < fgs> i guess at some point config.h was being created (since it's commented out in configure.ac)
16:44 < Lacrocivious> fgs: I am sure charles will be happy to see this ^
16:45 < fgs> HAVE_LONG_LONG check is basically dead
16:45 < fgs> should be fixed
16:45 < fgs> or something else should be put in place

Change History (5)

comment:1 Changed 12 years ago by charles

  • Owner set to charles
  • Status changed from new to assigned

Fixed in trunk for 1.80 by r9480

comment:2 Changed 12 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:3 Changed 12 years ago by charles

backported to 1.7x in r9876

comment:4 Changed 12 years ago by charles

  • Milestone changed from 1.80 to 1.77

comment:5 Changed 12 years ago by charles

  • Keywords backport-1.7x removed
Note: See TracTickets for help on using tickets.