-
diff -urN alpine-2.00-patched/alpine/adrbkcmd.c alpine-2.00/alpine/adrbkcmd.c
old
|
new
|
|
527 | 527 | break; |
528 | 528 | |
529 | 529 | default: |
530 | | panic("Unexpected command in process_abook_view_cmd"); |
| 530 | uw_panic("Unexpected command in process_abook_view_cmd"); |
531 | 531 | break; |
532 | 532 | } |
533 | 533 | |
… |
… |
|
2634 | 2634 | } |
2635 | 2635 | |
2636 | 2636 | if(!ps->prc) |
2637 | | panic("NULL prc in convert_to_remote_config"); |
| 2637 | uw_panic("NULL prc in convert_to_remote_config"); |
2638 | 2638 | |
2639 | 2639 | dprint((2, "convert_to_remote_config\n")); |
2640 | 2640 | |
… |
… |
|
5011 | 5011 | break; |
5012 | 5012 | |
5013 | 5013 | default: |
5014 | | panic("can't happen in write_single_vcard_entry"); |
| 5014 | uw_panic("can't happen in write_single_vcard_entry"); |
5015 | 5015 | } |
5016 | 5016 | |
5017 | 5017 | for(; ll && *ll; ll++){ |
… |
… |
|
5144 | 5144 | break; |
5145 | 5145 | |
5146 | 5146 | default: |
5147 | | panic("can't happen in write_single_tab_entry"); |
| 5147 | uw_panic("can't happen in write_single_tab_entry"); |
5148 | 5148 | } |
5149 | 5149 | |
5150 | 5150 | if(i) |
… |
… |
|
7366 | 7366 | break; |
7367 | 7367 | |
7368 | 7368 | default: |
7369 | | panic("Unexpected command in process_ldap_cmd"); |
| 7369 | uw_panic("Unexpected command in process_ldap_cmd"); |
7370 | 7370 | break; |
7371 | 7371 | } |
7372 | 7372 | |
-
diff -urN alpine-2.00-patched/alpine/alpine.c alpine-2.00/alpine/alpine.c
old
|
new
|
|
2321 | 2321 | break; |
2322 | 2322 | |
2323 | 2323 | default: |
2324 | | panic("Unexpected command in choose_setup_cmd"); |
| 2324 | uw_panic("Unexpected command in choose_setup_cmd"); |
2325 | 2325 | break; |
2326 | 2326 | } |
2327 | 2327 | |
… |
… |
|
3317 | 3317 | This is also called from imap routines and fs_get and fs_resize. |
3318 | 3318 | ----*/ |
3319 | 3319 | void |
3320 | | panic(char *message) |
| 3320 | uw_panic(char *message) |
3321 | 3321 | { |
3322 | 3322 | char buf[256]; |
3323 | 3323 | |
-
diff -urN alpine-2.00-patched/alpine/confscroll.c alpine-2.00/alpine/confscroll.c
old
|
new
|
|
5236 | 5236 | } |
5237 | 5237 | else{ |
5238 | 5238 | if(reset_character_set_stuff(&err) == -1) |
5239 | | panic(err ? err : "trouble with Character-Set"); |
| 5239 | uw_panic(err ? err : "trouble with Character-Set"); |
5240 | 5240 | else if(err){ |
5241 | 5241 | q_status_message(SM_ORDER | SM_DING, 3, 5, err); |
5242 | 5242 | fs_give((void **) &err); |
… |
… |
|
5252 | 5252 | } |
5253 | 5253 | else{ |
5254 | 5254 | if(reset_character_set_stuff(&err) == -1) |
5255 | | panic(err ? err : "trouble with Character-Set"); |
| 5255 | uw_panic(err ? err : "trouble with Character-Set"); |
5256 | 5256 | else if(err){ |
5257 | 5257 | q_status_message(SM_ORDER | SM_DING, 3, 5, err); |
5258 | 5258 | fs_give((void **) &err); |
-
diff -urN alpine-2.00-patched/alpine/folder.c alpine-2.00/alpine/folder.c
old
|
new
|
|
1014 | 1014 | strncat(servpart, "#news.", sizeof(servpart)-1-strlen(servpart)); |
1015 | 1015 | } |
1016 | 1016 | else |
1017 | | panic("Unexpected invalid server"); |
| 1017 | uw_panic("Unexpected invalid server"); |
1018 | 1018 | } |
1019 | 1019 | else |
1020 | 1020 | servpart[0] = '\0'; |
-
diff -urN alpine-2.00-patched/alpine/help.c alpine-2.00/alpine/help.c
old
|
new
|
|
412 | 412 | break; |
413 | 413 | |
414 | 414 | default : |
415 | | panic("Unhandled case"); |
| 415 | uw_panic("Unhandled case"); |
416 | 416 | } |
417 | 417 | |
418 | 418 | return(rv); |
… |
… |
|
878 | 878 | break; |
879 | 879 | |
880 | 880 | default: |
881 | | panic("Unexpected command in journal_processor"); |
| 881 | uw_panic("Unexpected command in journal_processor"); |
882 | 882 | break; |
883 | 883 | } |
884 | 884 | |
-
diff -urN alpine-2.00-patched/alpine/mailcmd.c alpine-2.00/alpine/mailcmd.c
old
|
new
|
|
1464 | 1464 | |
1465 | 1465 | /*--------- Default, unknown command ----------*/ |
1466 | 1466 | default: |
1467 | | panic("Unexpected command case"); |
| 1467 | uw_panic("Unexpected command case"); |
1468 | 1468 | break; |
1469 | 1469 | } |
1470 | 1470 | |
… |
… |
|
2657 | 2657 | ESCKEY_S ekey[10]; |
2658 | 2658 | |
2659 | 2659 | if(!cntxt) |
2660 | | panic("no context ptr in save_prompt"); |
| 2660 | uw_panic("no context ptr in save_prompt"); |
2661 | 2661 | |
2662 | 2662 | init_hist(&history, HISTSIZE); |
2663 | 2663 | |
… |
… |
|
3040 | 3040 | break; |
3041 | 3041 | |
3042 | 3042 | default : |
3043 | | panic("Unhandled case"); |
| 3043 | uw_panic("Unhandled case"); |
3044 | 3044 | break; |
3045 | 3045 | } |
3046 | 3046 | |
… |
… |
|
5665 | 5665 | break; |
5666 | 5666 | |
5667 | 5667 | default : |
5668 | | panic("Unhandled case"); |
| 5668 | uw_panic("Unhandled case"); |
5669 | 5669 | break; |
5670 | 5670 | } |
5671 | 5671 | |
-
diff -urN alpine-2.00-patched/alpine/mailview.c alpine-2.00/alpine/mailview.c
old
|
new
|
|
982 | 982 | |
983 | 983 | |
984 | 984 | default : |
985 | | panic("Unexpected HANDLE type"); |
| 985 | uw_panic("Unexpected HANDLE type"); |
986 | 986 | } |
987 | 987 | |
988 | 988 | return(0); |
… |
… |
|
1085 | 1085 | } |
1086 | 1086 | |
1087 | 1087 | if(l == start_line) |
1088 | | panic("Internal Error: no handle found"); |
| 1088 | uw_panic("Internal Error: no handle found"); |
1089 | 1089 | else |
1090 | 1090 | start_line = l; |
1091 | 1091 | } |
-
diff -urN alpine-2.00-patched/alpine/radio.c alpine-2.00/alpine/radio.c
old
|
new
|
|
279 | 279 | |
280 | 280 | if(flags & RB_RET_HELP){ |
281 | 281 | if(help_text != NO_HELP) |
282 | | panic("RET_HELP and help in radio_buttons!"); |
| 282 | uw_panic("RET_HELP and help in radio_buttons!"); |
283 | 283 | |
284 | 284 | button_list[b].ch = '?'; |
285 | 285 | button_list[b].rval = 3; |
… |
… |
|
359 | 359 | clrbitmap(bitmap); |
360 | 360 | memset(fkey_table, NO_OP_COMMAND, 12 * sizeof(int)); |
361 | 361 | if(flags & RB_RET_HELP && help_text != NO_HELP) |
362 | | panic("RET_HELP and help in radio_buttons!"); |
| 362 | uw_panic("RET_HELP and help in radio_buttons!"); |
363 | 363 | |
364 | 364 | /* if shown, always at position 0 */ |
365 | 365 | if(help_text != NO_HELP || flags & RB_RET_HELP){ |
… |
… |
|
397 | 397 | && esc_list[i-start].label[0] != '\0'){ /* visible */ |
398 | 398 | if(i == 12){ /* special case where we put it in help slot */ |
399 | 399 | if(help_text != NO_HELP) |
400 | | panic("Programming botch in radio_buttons(): too many keys"); |
| 400 | uw_panic("Programming botch in radio_buttons(): too many keys"); |
401 | 401 | |
402 | 402 | if(esc_list[i-start].ch != -2) |
403 | 403 | setbitn(0, bitmap); /* the help slot */ |
… |
… |
|
419 | 419 | rb_keymenu.keys[0].label = esc_list[i-start].label; |
420 | 420 | } |
421 | 421 | else |
422 | | panic("Botch in radio_buttons(): too many keys"); |
| 422 | uw_panic("Botch in radio_buttons(): too many keys"); |
423 | 423 | } |
424 | 424 | } |
425 | 425 | else{ |
… |
… |
|
822 | 822 | */ |
823 | 823 | for(i=0; list1 && list1[i].ch != -1; i++){ |
824 | 824 | if(list1[i].rval == list[j].rval) |
825 | | panic("1bad rval in d_r"); |
| 825 | uw_panic("1bad rval in d_r"); |
826 | 826 | if(F_OFF(F_USE_FK,ps_global) && list1[i].ch == list[j].ch) |
827 | | panic("1bad ch in ccl"); |
| 827 | uw_panic("1bad ch in ccl"); |
828 | 828 | } |
829 | 829 | |
830 | 830 | for(i=0; list2 && list2[i].ch != -1; i++){ |
831 | 831 | if(list2[i].rval == list[j].rval) |
832 | | panic("2bad rval in d_r"); |
| 832 | uw_panic("2bad rval in d_r"); |
833 | 833 | if(F_OFF(F_USE_FK,ps_global) && list2[i].ch == list[j].ch) |
834 | | panic("2bad ch in ccl"); |
| 834 | uw_panic("2bad ch in ccl"); |
835 | 835 | } |
836 | 836 | |
837 | 837 | j++; |
… |
… |
|
839 | 839 | /* the visible set */ |
840 | 840 | for(i=0; list1 && list1[i].ch != -1; i++){ |
841 | 841 | if(i >= KEYS_PER_LIST && list1[i].label[0] != '\0') |
842 | | panic("too many visible keys in ccl"); |
| 842 | uw_panic("too many visible keys in ccl"); |
843 | 843 | |
844 | 844 | list[j++] = list1[i]; |
845 | 845 | } |
-
diff -urN alpine-2.00-patched/alpine/roleconf.c alpine-2.00/alpine/roleconf.c
old
|
new
|
|
5929 | 5929 | char ***alval; |
5930 | 5930 | |
5931 | 5931 | if(!(v && name)) |
5932 | | panic("setup_dummy_pattern_var"); |
| 5932 | uw_panic("setup_dummy_pattern_var"); |
5933 | 5933 | |
5934 | 5934 | v->name = (char *) fs_get(strlen(name)+NOTLEN+1); |
5935 | 5935 | snprintf(v->name, strlen(name)+NOTLEN+1, "%s%s", (defpat && defpat->not) ? NOT : "", name); |
-
diff -urN alpine-2.00-patched/alpine/signal.c alpine-2.00/alpine/signal.c
old
|
new
|
|
174 | 174 | /*---------------------------------------------------------------------- |
175 | 175 | Handle signals caused by aborts -- SIGSEGV, SIGILL, etc |
176 | 176 | |
177 | | Call panic which cleans up tty modes and then core dumps |
| 177 | Call uw_panic which cleans up tty modes and then core dumps |
178 | 178 | ----------------------------------------------------------------------*/ |
179 | 179 | static RETSIGTYPE |
180 | 180 | auger_in_signal(int sig) |
… |
… |
|
187 | 187 | snprintf(buf, sizeof(buf), "Received abort signal(sig=%d)", sig); |
188 | 188 | buf[sizeof(buf)-1] = '\0'; |
189 | 189 | |
190 | | panic(buf); /* clean up and get out */ |
| 190 | uw_panic(buf); /* clean up and get out */ |
191 | 191 | |
192 | | exit(-1); /* in case panic doesn't kill us */ |
| 192 | exit(-1); /* in case uw_panic doesn't kill us */ |
193 | 193 | } |
194 | 194 | |
195 | 195 | |
-
diff -urN alpine-2.00-patched/pith/adrbklib.c alpine-2.00/pith/adrbklib.c
old
|
new
|
|
4326 | 4326 | |
4327 | 4327 | nn = (adrbk_cntr_t)n; |
4328 | 4328 | if(!exp_head) |
4329 | | panic("exp_head not set in exp_set_expanded"); |
| 4329 | uw_panic("exp_head not set in exp_set_expanded"); |
4330 | 4330 | |
4331 | 4331 | for(e = exp_head; e->next; e = e->next) |
4332 | 4332 | if(e->next->ent >= nn) |
… |
… |
|
4358 | 4358 | |
4359 | 4359 | nn = (adrbk_cntr_t)n; |
4360 | 4360 | if(!exp_head) |
4361 | | panic("exp_head not set in exp_unset_expanded"); |
| 4361 | uw_panic("exp_head not set in exp_unset_expanded"); |
4362 | 4362 | |
4363 | 4363 | for(e = exp_head; e->next; e = e->next) |
4364 | 4364 | if(e->next->ent >= nn) |
… |
… |
|
4390 | 4390 | |
4391 | 4391 | nn = (adrbk_cntr_t)n; |
4392 | 4392 | if(!exp_head) |
4393 | | panic("exp_head not set in exp_del_nth"); |
| 4393 | uw_panic("exp_head not set in exp_del_nth"); |
4394 | 4394 | |
4395 | 4395 | e = exp_head->next; |
4396 | 4396 | while(e && e->ent < nn) |
… |
… |
|
4430 | 4430 | |
4431 | 4431 | nn = (adrbk_cntr_t)n; |
4432 | 4432 | if(!exp_head) |
4433 | | panic("exp_head not set in exp_add_nth"); |
| 4433 | uw_panic("exp_head not set in exp_add_nth"); |
4434 | 4434 | |
4435 | 4435 | e = exp_head->next; |
4436 | 4436 | while(e && e->ent < nn) |
-
diff -urN alpine-2.00-patched/pith/charset.c alpine-2.00/pith/charset.c
old
|
new
|
|
428 | 428 | if(utf8_charset(cset)){ |
429 | 429 | if(!utf8_text(&src, cset, &xsrc, 0L)){ |
430 | 430 | /* should not happen */ |
431 | | panic("c-client failed to transliterate recognized characterset"); |
| 431 | uw_panic("c-client failed to transliterate recognized characterset"); |
432 | 432 | } |
433 | 433 | } |
434 | 434 | else{ |
… |
… |
|
455 | 455 | if(!(cs->type == CT_ASCII || cs->type == CT_UTF8)){ |
456 | 456 | if(!utf8_text_cs(&src, cs, &xsrc, 0L, 0L)){ |
457 | 457 | /* should not happen */ |
458 | | panic("c-client failed to transliterate recognized characterset"); |
| 458 | uw_panic("c-client failed to transliterate recognized characterset"); |
459 | 459 | } |
460 | 460 | } |
461 | 461 | } |
… |
… |
|
465 | 465 | && utf8_charset(cset)){ |
466 | 466 | if(!utf8_text(&src, cset, &xsrc, 0L)){ |
467 | 467 | /* should not happen */ |
468 | | panic("c-client failed to transliterate recognized character set"); |
| 468 | uw_panic("c-client failed to transliterate recognized character set"); |
469 | 469 | } |
470 | 470 | } |
471 | 471 | else{ |
-
diff -urN alpine-2.00-patched/pith/conf.c alpine-2.00/pith/conf.c
old
|
new
|
|
1798 | 1798 | */ |
1799 | 1799 | |
1800 | 1800 | if(reset_character_set_stuff(&err) == -1) |
1801 | | panic(err ? err : "trouble with character set setup"); |
| 1801 | uw_panic(err ? err : "trouble with character set setup"); |
1802 | 1802 | else if(err){ |
1803 | 1803 | init_error(ps, SM_ORDER | SM_DING, 3, 5, err); |
1804 | 1804 | fs_give((void **) &err); |
… |
… |
|
2583 | 2583 | case 4: valptr = v->global_val.l; break; |
2584 | 2584 | case 5: valptr = v->fixed_val.l; break; |
2585 | 2585 | case 6: valptr = v->cmdline_val.l; break; |
2586 | | default: panic("bad case in convert_configvar"); |
| 2586 | default: uw_panic("bad case in convert_configvar"); |
2587 | 2587 | } |
2588 | 2588 | |
2589 | 2589 | if(valptr){ |
… |
… |
|
2609 | 2609 | case 4: valptr = &v->global_val.p; break; |
2610 | 2610 | case 5: valptr = &v->fixed_val.p; break; |
2611 | 2611 | case 6: valptr = &v->cmdline_val.p; break; |
2612 | | default: panic("bad case in convert_configvar"); |
| 2612 | default: uw_panic("bad case in convert_configvar"); |
2613 | 2613 | } |
2614 | 2614 | |
2615 | 2615 | if(valptr && *valptr && (*valptr)[0]){ |
… |
… |
|
7435 | 7435 | |
7436 | 7436 | snprintf(buf1, sizeof(buf1), "%.*s", MAX(sizeof(buf1) - 1 - strlen(message), 0), arg); |
7437 | 7437 | snprintf(buf2, sizeof(buf2), message, buf1); |
7438 | | panic(buf2); |
| 7438 | uw_panic(buf2); |
7439 | 7439 | } |
7440 | 7440 | |
7441 | 7441 | |
-
diff -urN alpine-2.00-patched/pith/filter.c alpine-2.00/pith/filter.c
old
|
new
|
|
363 | 363 | fs_give((void **) &sp); |
364 | 364 | } |
365 | 365 | else |
366 | | panic("Programmer botch: Can't unstack store readc"); |
| 366 | uw_panic("Programmer botch: Can't unstack store readc"); |
367 | 367 | } |
368 | 368 | else |
369 | | panic("Programmer botch: NULL store clearing store readc"); |
| 369 | uw_panic("Programmer botch: NULL store clearing store readc"); |
370 | 370 | } |
371 | 371 | |
372 | 372 | |
… |
… |
|
397 | 397 | fs_give((void **) &sp); |
398 | 398 | } |
399 | 399 | else |
400 | | panic("Programmer botch: Can't unstack store writec"); |
| 400 | uw_panic("Programmer botch: Can't unstack store writec"); |
401 | 401 | } |
402 | 402 | else |
403 | | panic("Programmer botch: NULL store clearing store writec"); |
| 403 | uw_panic("Programmer botch: NULL store clearing store writec"); |
404 | 404 | } |
405 | 405 | |
406 | 406 | |
-
diff -urN alpine-2.00-patched/pith/folder.c alpine-2.00/pith/folder.c
old
|
new
|
|
586 | 586 | * collection??? |
587 | 587 | */ |
588 | 588 | if(!prime) |
589 | | panic(_("No folder collections defined")); |
| 589 | uw_panic(_("No folder collections defined")); |
590 | 590 | |
591 | 591 | /* |
592 | 592 | * At this point, insert the INBOX mapping as the leading |
-
diff -urN alpine-2.00-patched/pith/imap.c alpine-2.00/pith/imap.c
old
|
new
|
|
642 | 642 | void |
643 | 643 | mm_fatal(char *message) |
644 | 644 | { |
645 | | panic(message); |
| 645 | uw_panic(message); |
646 | 646 | } |
647 | 647 | |
648 | 648 | |
-
diff -urN alpine-2.00-patched/pith/ldap.c alpine-2.00/pith/ldap.c
old
|
new
|
|
1700 | 1700 | break; |
1701 | 1701 | |
1702 | 1702 | default: |
1703 | | panic("LDAP function not implemented"); |
| 1703 | uw_panic("LDAP function not implemented"); |
1704 | 1704 | } |
1705 | 1705 | #endif |
1706 | 1706 | |
-
diff -urN alpine-2.00-patched/pith/mailcap.c alpine-2.00/pith/mailcap.c
old
|
new
|
|
247 | 247 | return; |
248 | 248 | |
249 | 249 | default: |
250 | | panic("Programmer botch in mc_process_file"); |
| 250 | uw_panic("Programmer botch in mc_process_file"); |
251 | 251 | /*NOTREACHED*/ |
252 | 252 | } |
253 | 253 | |
-
diff -urN alpine-2.00-patched/pith/mailcmd.c alpine-2.00/pith/mailcmd.c
old
|
new
|
|
1228 | 1228 | break; |
1229 | 1229 | |
1230 | 1230 | default: |
1231 | | panic("Unexpected incoming startup case"); |
| 1231 | uw_panic("Unexpected incoming startup case"); |
1232 | 1232 | break; |
1233 | 1233 | |
1234 | 1234 | } |
-
diff -urN alpine-2.00-patched/pith/mailindx.c alpine-2.00/pith/mailindx.c
old
|
new
|
|
1179 | 1179 | break; |
1180 | 1180 | |
1181 | 1181 | default: |
1182 | | panic("Unhandled fixed case in setup_index_header"); |
| 1182 | uw_panic("Unhandled fixed case in setup_index_header"); |
1183 | 1183 | break; |
1184 | 1184 | } |
1185 | 1185 | } |
… |
… |
|
3279 | 3279 | IELEM_S *ielem; |
3280 | 3280 | |
3281 | 3281 | if(!buf) |
3282 | | panic("NULL buf in simple_index_line()"); |
| 3282 | uw_panic("NULL buf in simple_index_line()"); |
3283 | 3283 | |
3284 | 3284 | if(buflen > 0) |
3285 | 3285 | buf[0] = '\0'; |
… |
… |
|
5052 | 5052 | break; |
5053 | 5053 | |
5054 | 5054 | default: |
5055 | | panic("Unhandled case in prio_str"); |
| 5055 | uw_panic("Unhandled case in prio_str"); |
5056 | 5056 | break; |
5057 | 5057 | } |
5058 | 5058 | |
-
diff -urN alpine-2.00-patched/pith/mimetype.c alpine-2.00/pith/mimetype.c
old
|
new
|
|
175 | 175 | } |
176 | 176 | } |
177 | 177 | else |
178 | | panic("Unhandled mime type search"); |
| 178 | uw_panic("Unhandled mime type search"); |
179 | 179 | } |
180 | 180 | |
181 | 181 | |
-
diff -urN alpine-2.00-patched/pith/pattern.c alpine-2.00/pith/pattern.c
old
|
new
|
|
1294 | 1294 | char *p; |
1295 | 1295 | |
1296 | 1296 | if(!patgrp) |
1297 | | panic("NULL patgrp to parse_patgrp_slash"); |
| 1297 | uw_panic("NULL patgrp to parse_patgrp_slash"); |
1298 | 1298 | else if(!(str && *str)){ |
1299 | | panic("NULL or empty string to parse_patgrp_slash"); |
| 1299 | uw_panic("NULL or empty string to parse_patgrp_slash"); |
1300 | 1300 | patgrp->bogus = 1; |
1301 | 1301 | } |
1302 | 1302 | else if(!strncmp(str, "/NICK=", 6)) |
… |
… |
|
1515 | 1515 | NAMEVAL_S *v; |
1516 | 1516 | |
1517 | 1517 | if(!action) |
1518 | | panic("NULL action to parse_action_slash"); |
| 1518 | uw_panic("NULL action to parse_action_slash"); |
1519 | 1519 | else if(!(str && *str)) |
1520 | | panic("NULL or empty string to parse_action_slash"); |
| 1520 | uw_panic("NULL or empty string to parse_action_slash"); |
1521 | 1521 | else if(!strncmp(str, "/ROLE=1", 7)) |
1522 | 1522 | action->is_a_role = 1; |
1523 | 1523 | else if(!strncmp(str, "/OTHER=1", 8)) |
-
diff -urN alpine-2.00-patched/pith/save.c alpine-2.00/pith/save.c
old
|
new
|
|
239 | 239 | break; |
240 | 240 | |
241 | 241 | default: |
242 | | panic(botch); |
| 242 | uw_panic(botch); |
243 | 243 | break; |
244 | 244 | } |
245 | 245 | |
-
diff -urN alpine-2.00-patched/pith/send.c alpine-2.00/pith/send.c
old
|
new
|
|
428 | 428 | fields[++i] = "X-Our-ReplyTo"; /* ReplyTo is real */ |
429 | 429 | fields[++i] = "Lcc"; /* Lcc: too... */ |
430 | 430 | if(++i != FIELD_COUNT) |
431 | | panic("Fix FIELD_COUNT"); |
| 431 | uw_panic("Fix FIELD_COUNT"); |
432 | 432 | |
433 | 433 | for(pf = *custom; pf && pf->name; pf = pf->next) |
434 | 434 | if(!pf->standard) |
… |
… |
|
3087 | 3087 | return((char *)s); |
3088 | 3088 | |
3089 | 3089 | if(dlen < SIZEOF_20KBUF) |
3090 | | panic("bad call to encode_header_value"); |
| 3090 | uw_panic("bad call to encode_header_value"); |
3091 | 3091 | |
3092 | 3092 | if(!encode_all){ |
3093 | 3093 | /* |
-
diff -urN alpine-2.00-patched/pith/sort.c alpine-2.00/pith/sort.c
old
|
new
|
|
487 | 487 | dprint((2, "sort_sort_callback\n")); |
488 | 488 | |
489 | 489 | if(mn_get_total(g_sort.msgmap) < nmsgs) |
490 | | panic("Message count shrank after sort!"); |
| 490 | uw_panic("Message count shrank after sort!"); |
491 | 491 | |
492 | 492 | /* copy ulongs to array of longs */ |
493 | 493 | for(i = nmsgs; i > 0; i--) |
-
diff -urN alpine-2.00-patched/pith/stream.c alpine-2.00/pith/stream.c
old
|
new
|
|
1728 | 1728 | * partial text. |
1729 | 1729 | */ |
1730 | 1730 | if(!str_to_free) |
1731 | | panic("Programmer botch: partial fetch attempt w/o string pointer"); |
| 1731 | uw_panic("Programmer botch: partial fetch attempt w/o string pointer"); |
1732 | 1732 | else |
1733 | 1733 | *str_to_free = (char *) new_text.data; |
1734 | 1734 | } |
-
diff -urN alpine-2.00-patched/pith/string.c alpine-2.00/pith/string.c
old
|
new
|
|
2644 | 2644 | char *ans = NULL; |
2645 | 2645 | |
2646 | 2646 | if(!quote_these_chars) |
2647 | | panic("bad arg to add_escapes"); |
| 2647 | uw_panic("bad arg to add_escapes"); |
2648 | 2648 | |
2649 | 2649 | if(src){ |
2650 | 2650 | char *q, *p, *qchar; |
-
diff -urN alpine-2.00-patched/pith/util.h alpine-2.00/pith/util.h
old
|
new
|
|
56 | 56 | /* currently mandatory to implement stubs */ |
57 | 57 | |
58 | 58 | /* called when we detect a serious program error */ |
59 | | void panic(char *); |
| 59 | void uw_panic(char *); |
60 | 60 | |
61 | 61 | /* called when testing to see if panic state is in effect */ |
62 | 62 | int panicking(void); |
-
diff -urN alpine-2.00-patched/web/src/alpined.d/signal.c alpine-2.00/web/src/alpined.d/signal.c
old
|
new
|
|
117 | 117 | /*---------------------------------------------------------------------- |
118 | 118 | Handle signals caused by aborts -- SIGSEGV, SIGILL, etc |
119 | 119 | |
120 | | Call panic which cleans up tty modes and then core dumps |
| 120 | Call uw_panic which cleans up tty modes and then core dumps |
121 | 121 | ----------------------------------------------------------------------*/ |
122 | 122 | static RETSIGTYPE |
123 | 123 | auger_in_signal(int sig) |
… |
… |
|
128 | 128 | (void) unlink(peSocketName); |
129 | 129 | |
130 | 130 | snprintf(tmp_20k_buf, SIZEOF_20KBUF, "Abort: signal %d", sig); |
131 | | panic(tmp_20k_buf); /* clean up and get out */ |
132 | | exit(-1); /* in case panic doesn't kill us */ |
| 131 | uw_panic(tmp_20k_buf); /* clean up and get out */ |
| 132 | exit(-1); /* in case uw_panic doesn't kill us */ |
133 | 133 | } |
134 | 134 | |
135 | 135 | |