home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   BINKD      Support for the Internet BinKD mailer      8,958 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 7,670 of 8,958   
   andrew clarke to Pavel Gulchouck   
   Blocking   
   15 Nov 21 16:47:41   
   
   REPLY: 2:463/68 61917255   
   MSGID: 3:633/267 6191f47e   
   CHRS: LATIN-1 2   
   TZUTC: 1100   
   TID: hpt/fbsd 1.9.0-cur 2021-04-15   
   On 2021-11-14 22:16:48, Pavel Gulchouck (2:463/68) wrote to andrew clarke:   
      
    ac>> -  #define PRIdMAX "I64i"   
    ac>> -  #define PRIuMAX "I64u"   
    ac>> +  #define PRIdMAX "%I64i"   
    ac>> +  #define PRIuMAX "%I64u"   
      
    ac>> Then change the .c files that reference these macros accordingly.   
      
    PG> This way was choosen due to use of the format "%8" PRIuMAX in ftnq.c.   
    PG> I'm not sure is it better to create another macro PRIuMAX8 or keep   
    PG> existing PRIdMAX without '%'.   
      
   My initial reaction was to create a PRIuMAX8. However, inttypes.h in C99   
   already defines PRIuMAX without the leading %.   
      
   And in hindsight I see PRIuMAX is only defined in binkd's sys.h only for   
   pre-C99 versions of MSVC.   
      
   So for compatibility with inttypes.h it's best to leave sys.h alone and just   
   hunt for missing % characters in the *.c files (unfortunately).   
      
   Normally modern compilers (gcc/clang) are good at flagging printf() format   
   bugs as they're fairly common, so it's strange they are not doing it here,   
   despite building with $(CC) -Wall.   
      
   --- GoldED+/BSD 1.1.5-b20180707   
    * Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)   
   SEEN-BY: 1/123 14/0 90/1 105/81 114/709 120/340 123/131 129/305 226/30   
   SEEN-BY: 227/114 229/200 424 426 550 664 700 240/5832 249/109 206   
   SEEN-BY: 249/307 317 282/1038 292/854 301/1 322/757 342/200 633/267   
   SEEN-BY: 633/280 281 384 410 412 416 509 640/1384 712/848 770/1   
   PATH: 633/267 280 229/426   
      

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca