Changeset 8262340
- Timestamp:
- Feb 25, 2003, 12:56:21 PM (22 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- ecd5dc5
- Parents:
- 316962a
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r316962a r8262340 30 30 Zaway now obeys the smart strip variable 31 31 Hacked the build system to not have the -E link problem on Athena 32 Added ZResetAuthentication in a number of places to fix problems 33 with stale tickets 34 Added some hooks for malloc debugging 32 35 33 36 1.2.8 -
functions.c
r7c8060d0 r8262340 1534 1534 strcat(buff, "Color: No.\n"); 1535 1535 } 1536 1536 1537 sprintf(buff, "%sMemory Malloced: %i\n", buff, owl_global_get_malloced(&g)); 1538 sprintf(buff, "%sMemory Freed: %i\n", buff, owl_global_get_freed(&g)); 1539 sprintf(buff, "%sMemory In Use: %i\n", buff, owl_global_get_meminuse(&g)); 1540 1537 1541 owl_function_popless_text(buff); 1538 1542 } -
global.c
r700c712 r8262340 18 18 struct hostent *hent; 19 19 char hostname[MAXHOSTNAMELEN]; 20 21 g->malloced=0; 22 g->freed=0; 20 23 21 24 gethostname(hostname, MAXHOSTNAMELEN); … … 607 610 } 608 611 612 void owl_global_add_to_malloced(owl_global *g, int i) { 613 g->malloced+=i; 614 } 615 616 void owl_global_add_to_freed(owl_global *g, int i) { 617 g->freed+=1; 618 } 619 620 int owl_global_get_malloced(owl_global *g) { 621 return(g->malloced); 622 } 623 624 int owl_global_get_freed(owl_global *g) { 625 return(g->freed); 626 } 627 628 int owl_global_get_meminuse(owl_global *g) { 629 return(g->malloced-g->freed); 630 } -
message.c
r985f85b r8262340 868 868 owl_fmtext_free(&(m->fmtext)); 869 869 } 870 -
owl.h
rd0d65df r8262340 391 391 int searchactive; 392 392 int newmsgproc_pid; 393 int malloced, freed; 393 394 char *searchstring; 394 395 owl_filterelement fe_true; -
zephyr.c
r7c8060d0 r8262340 9 9 10 10 static const char fileIdent[] = "$Id$"; 11 12 Code_t ZResetAuthentication(); 11 13 12 14 int owl_zephyr_loadsubs(char *filename) { … … 28 30 strcpy(subsfile, filename); 29 31 } 30 32 33 ZResetAuthentication(); 31 34 /* need to redo this to do chunks, not just bail after 3000 */ 32 35 count=0; … … 95 98 } 96 99 100 ZResetAuthentication(); 97 101 /* need to redo this to do chunks, not just bag out after 3000 */ 98 102 count=0; … … 137 141 void unsuball() { 138 142 int ret; 139 143 144 ZResetAuthentication(); 140 145 ret=ZCancelSubscriptions(0); 141 146 if (ret != ZERR_NONE) { … … 152 157 subs[0].zsub_recipient=recip; 153 158 159 ZResetAuthentication(); 154 160 if (ZSubscribeTo(subs,1,0) != ZERR_NONE) { 155 161 fprintf(stderr, "Error subbing\n"); … … 168 174 subs[0].zsub_recipient=recip; 169 175 176 ZResetAuthentication(); 170 177 if (ZUnsubscribeTo(subs,1,0) != ZERR_NONE) { 171 178 fprintf(stderr, "Error unsubbing\n"); … … 246 253 memset(¬ice, 0, sizeof(notice)); 247 254 255 ZResetAuthentication(); 256 248 257 notice.z_kind=ACKED; 249 258 notice.z_port=0; … … 389 398 390 399 strcpy(out, ""); 391 400 ZResetAuthentication(); 392 401 ret=ZLocateUser(user,&numlocs,auth?ZAUTH:ZNOAUTH); 393 402 if (ret != ZERR_NONE) { -
zwrite.c
rced25d1 r8262340 6 6 7 7 static const char fileIdent[] = "$Id$"; 8 9 Code_t ZResetAuthentication();10 8 11 9 int owl_zwrite_create_and_send_from_line(char *cmd, char *msg) { … … 227 225 send_zephyr(z->opcode, z->zsig, z->class, z->inst, to, msg); 228 226 } 229 230 ZResetAuthentication();231 227 } 232 228
Note: See TracChangeset
for help on using the changeset viewer.