? golded.cfg ? golded.log ? goldlast.lst ? goldxlat.gel ? lib ? obj ? bin/gedlnx ? bin/gnlnx ? bin/golded.cfg ? bin/golded.log ? bin/goldlast.lst ? bin/goldxlat.gel ? bin/rddtlnx ? docs/golded.html ? docs/golded.txt ? docs/goldnode.html ? docs/goldnode.txt ? docs/rddt.html ? docs/rddt.txt ? docs/tokencfg.txt ? docs/tokentpl.txt ? golded3/bldlnx.inc ? golded3/mygolded.h ? goldlib/gall/bldlnx.inc ? goldlib/gcfg/bldlnx.inc ? goldlib/gcfg/patch ? goldlib/gcui/bldlnx.inc ? goldlib/glibc/bldlnx.inc ? goldlib/gmb3/bldlnx.inc ? goldlib/hunspell/bldlnx.inc ? goldlib/smblib/bldlnx.inc ? goldlib/uulib/bldlnx.inc ? goldnode/bldlnx.inc ? rddt/bldlnx.inc Index: GNUmakef.def =================================================================== RCS file: /cvsroot/golded-plus/golded+/GNUmakef.def,v retrieving revision 1.57 diff -w -r1.57 GNUmakef.def 165c165 < CFLAGS+=-funsigned-char -g $(INCS) -Wall -Wno-long-long -Wno-sign-compare -pedantic -O2 -DPRAGMA_PACK # -fomit-frame-pointer --- > CFLAGS+=-funsigned-char -g $(INCS) -Wall -Wno-long-long -Wno-sign-compare -pedantic -O0 -DPRAGMA_PACK # -fomit-frame-pointer Index: goldlib/gcfg/gs_sync.h =================================================================== RCS file: /cvsroot/golded-plus/golded+/goldlib/gcfg/gs_sync.h,v retrieving revision 1.4 diff -w -r1.4 gs_sync.h 45a46,47 > const int LEN_CODE = 8; // Maximum length of internal codes > const int LEN_EXTCODE = (LEN_CODE*2); // Code prefix + suffix 94c96,97 < unused[96]; // unused --- > code_prefix[LEN_CODE+1], // Prefix for internal code of every sub in this group > unused[87]; // unused 102c105 < code[9], // Eight character code --- > code_suffix[LEN_CODE+1], // Internal code (or just suffix) 119,120c122,124 < uint16_t qwkconf; // QWK configuration < uint8_t unused[53]; // unused --- > uint16_t qwkconf; // QWK conference number > char code[LEN_EXTCODE+1]; // Not actually read from the .cnf file > uint8_t unused[36]; // unused Index: goldlib/gcfg/gxsync.cpp =================================================================== RCS file: /cvsroot/golded-plus/golded+/goldlib/gcfg/gxsync.cpp,v retrieving revision 1.13 diff -w -r1.13 gxsync.cpp 47d46 < grp_t grp; 105,107c104,111 < if(fread(&shrt, sizeof(uint16_t), 1, in) == 1) { < for(i = 0; i < shrt; i++) { < if(fread(&grp, sizeof(grp_t), 1, in) != 1) --- > uint16_t total_groups = 0; > grp_t* grp = NULL; > > if(fread(&total_groups, sizeof(total_groups), 1, in) == 1 > && total_groups >= 1 > && (grp = (grp_t*)malloc(total_groups * sizeof(grp_t))) != NULL) { > for(i = 0; i < total_groups; i++) { > if(fread(&grp[i], sizeof(grp_t), 1, in) != 1) 114a119,123 > if(sub.grp >= total_groups) // Illegal group number > continue; > /* A sub-board's internal code is the combination of the grp's code_prefix & the sub's code_suffix */ > memset(sub.code, 0, sizeof(sub.code)); > snprintf(sub.code, sizeof(sub.code)-1, "%s%s", grp[sub.grp].code_prefix, sub.code_suffix); 117c126 < aa.type = (sub.misc & SUB_QNET) ? GMB_LOCAL : GMB_ECHO; --- > aa.type = (sub.misc & SUB_FIDO) ? GMB_ECHO : GMB_LOCAL; 122a132 > aa.board = i; 134a145,146 > if(grp != NULL) > free(grp); Index: goldlib/gmb3/gmosmb1.cpp =================================================================== RCS file: /cvsroot/golded-plus/golded+/goldlib/gmb3/gmosmb1.cpp,v retrieving revision 1.21 diff -w -r1.21 gmosmb1.cpp 35d34 < 497a497,508 > // ------------------------------------------------------------------ > // Returns current timezone offset based on TZ environment variable. > > int tzoffset_in_minutes() > { > time32_t t1 = gtime(NULL); > struct tm tp; ggmtime(&tp, &t1); > tp.tm_isdst = -1; > time32_t t2 = gmktime(&tp); > int dt = (int)(t1 - t2); > return dt / 60; > } 543a555 > smsg.hdr.when_written.zone = tzoffset_in_minutes(); 545a558 > smsg.hdr.when_imported.zone = tzoffset_in_minutes(); 613a627,630 > smb_hfield(&smsg, SENDER, strlen(msg->by), msg->by); > smb_hfield(&smsg, RECIPIENT, strlen(msg->to), msg->to); > if(data->status.attr & SMB_EMAIL) { > /* Recipient net addresses are only used in the "mail" base: */ 616,617c633,634 < < smb_hfield(&smsg, SENDER, strlen(msg->by), msg->by); --- > } else { > /* The to/from hash (CRC) storage in the index is only for subs: */ 622d638 < smb_hfield(&smsg, RECIPIENT, strlen(msg->to), msg->to); 626c642 < --- > } .