lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV color style code, LWV's dbx results


From: Larry W. Virden, x2487
Subject: Re: LYNX-DEV color style code, LWV's dbx results
Date: Thu, 16 Oct 1997 22:32:57 -0400

From: Klaus Weide <address@hidden>
>> Now we just need to fix up the case where no style sheet is present.
>
>Well "we" don't have to do that, IMHO.  If you, or other users of the
>color style code, want to do it and contribute the changes, fine.

That was a 'we' as in royal we - the lynx developement group.  I am
trying to work thru this - and I appreciate the ideas of the folk here
on the mailing list regarding things to try.  I'm trying to help out
where I can here, and continue to contribute patches as well as
suggestions and ideas.  When folk are tired of hearing my ideas,
or bug reports, feel free to let me know I should unsubscribe.

>The following is a different topic:
>Or replace in HTTP.c
    >line_buffer = (char *) malloc(buffer_length * sizeof(char));
>with
    >line_buffer = (char *) calloc(buffer_length, sizeof(char));
>and
            >line_kept_clean = (char *)malloc (buffer_length * sizeof (char));
>(immediately preceding the memcpy) with
            >line_kept_clean = (char *)calloc (buffer_length, sizeof (char));

I did that and things went swimmingly!  Here is the results:
Checking for memory leaks...

Actual leaks report    (actual leaks:         8  total size:      24 bytes)

 Total  Num of  Leaked      Allocation call stack
 Size   Blocks  Block
                Address
======  ====== ==========  =======================================
    12       4      -      HTSACopy < HText_beginInput
    12       4      -      HTSACopy < HText_beginInput


Possible leaks report  (possible leaks:       0  total size:       0 bytes)


Checking for memory use...

Blocks in use report   (blocks in use:      309  total size:   72882 bytes)

 Total  % of Num of  Avg     Allocation call stack
 Size    All Blocks  Size
======= ==== ====== ======  =======================================
  23040  31%     72    320  calloc < newwin
  16488  22%      1  16488  clnt_dg_create < clnt_tli_create < load_dom_binding 
< check_binding < __yp_dobind < yp_match < _nss_nis_ypmatch < _nss_nis_lookup
  16384  22%      1  16384  clnt_dg_create < clnt_tli_create < load_dom_binding 
< check_binding < __yp_dobind < yp_match < _nss_nis_ypmatch < _nss_nis_lookup
   4096   5%      1   4096  clnt_dg_create < clnt_tli_create < load_dom_binding 
< check_binding < __yp_dobind < yp_match < _nss_nis_ypmatch < _nss_nis_lookup
   2064   2%      1   2064  _nc_set_buffer < _nc_setupscreen < newterm < 
initscr < start_curses < setup < main
   1856   2%      1   1856  calloc < setupterm < newterm < initscr < 
start_curses < setup < main
   1368   1%      1   1368  calloc < _nc_setupscreen < newterm < initscr < 
start_curses < setup < main
   1344   1%      1   1344  _nss_XbyY_buf_alloc < gethostbyname < HTParseInet < 
HTDoConnect < HTLoadHTTP < HTLoad < HTLoadDocument < HTLoadAbsolute
    864   1%      3    288  calloc < _nc_makenew
    528  <1%      1    528  _nc_read_file_entry < _nc_read_tic_entry < 
_nc_read_entry < grab_entry < setupterm < newterm < initscr < start_curses
    480  <1%      1    480  putenv < main
    432  <1%     27     16  calloc < _nsw_getoneconfig
    384  <1%      6     64  calloc < fgetnetconfig
    320  <1%      1    320  ClrBottom < ClrUpdate < doupdate < wrefresh < 
display_page < HText_pageDisplay < mainloop < main
    300  <1%      3    100  calloc < _nc_makenew
    264  <1%     22     12  calloc < _nc_add_to_try
    240  <1%     15     16  calloc < _nsw_getoneconfig
    204  <1%      2    102  makenode < yp_match
    204  <1%     17     12  calloc < _nc_add_to_try
    132  <1%      1    132  calloc < _t_alloc_bufs < _t_create < t_open < 
clnt_tli_create < load_dom_binding < check_binding < __yp_dobind


execution completed, exit code is 0

-- 
Larry W. Virden                 INET: address@hidden
<URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
Unless explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]