オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Diff of /trunk/1.8.x/ccs-patch/security/ccsecurity/memory.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3752 by kumaneko, Fri Jun 11 05:46:17 2010 UTC revision 3780 by kumaneko, Thu Jun 24 08:50:05 2010 UTC
# Line 300  void ccs_read_memory_counter(struct ccs_ Line 300  void ccs_read_memory_counter(struct ccs_
300          };          };
301          unsigned int total = 0;          unsigned int total = 0;
302          int i;          int i;
303          if (head->read_eof)          if (head->r.eof)
304                  return;                  return;
305          for (i = 0; i < 3; i++) {          for (i = 0; i < 3; i++) {
306                  total += usage[i];                  total += usage[i];
# Line 310  void ccs_read_memory_counter(struct ccs_ Line 310  void ccs_read_memory_counter(struct ccs_
310                  ccs_io_printf(head, "\n");                  ccs_io_printf(head, "\n");
311          }          }
312          ccs_io_printf(head, "%s %10u\n", header[3], total);          ccs_io_printf(head, "%s %10u\n", header[3], total);
313          head->read_eof = true;          head->r.eof = true;
314  }  }
315    
316  /**  /**

Legend:
Removed from v.3752  
changed lines
  Added in v.3780

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26