Changeset 237
- Timestamp:
- Jul 11, 2009, 10:29:20 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/docs/Changelog ¶
r235 r237 1 1 2.5.7: 2 * eliminate C99-style comments (problem reported by 3 venkat) 4 * fix bad variable name for AC_CACHE_CHECK 2 5 * fix potential deadlock when external programm is called 3 6 (problem reported by A. Dunkel) -
TabularUnified trunk/src/cutest_sh_unix.c ¶
r171 r237 11 11 void Test_dnmalloc (CuTest *tc) { 12 12 13 const int nalloc = 64 /* original dnmalloc 1.0-beta5 fails fo >= 45 */;13 const int nalloc = 64 /* original dnmalloc 1.0-beta5 fails for >= 45 */; 14 14 int j, i; 15 15 int sum; … … 90 90 CuAssertPtrNotNull(tc, area[j]); 91 91 #ifndef USE_SYSTEM_MALLOC 92 / / CuAssertIntEquals (tc, malloc_count, (i_malloc + (j+1)));92 /* CuAssertIntEquals (tc, malloc_count, (i_malloc + (j+1))); */ 93 93 #endif 94 94 memset(area[j], (unsigned char) ('a'+1), (j+1) * 1024); -
TabularUnified trunk/src/dnmalloc.c ¶
r228 r237 2919 2919 } 2920 2920 #ifdef DNMALLOC_CHECKS 2921 / / This should never occur but if it does, we'd like to know2921 /* This should never occur but if it does, we'd like to know */ 2922 2922 if (!ci) { 2923 2923 fprintf (stderr, … … 4661 4661 } 4662 4662 else { 4663 / / Initialize dnmalloc4663 /* Initialize dnmalloc */ 4664 4664 dnmalloc_init(); 4665 4665 malloc_init_state(get_malloc_state()); … … 4902 4902 4903 4903 /* Note the extra SIZE_SZ overhead */ 4904 / /newsize = (nb + offset + SIZE_SZ + pagemask) & ~pagemask;4904 /* newsize = (nb + offset + SIZE_SZ + pagemask) & ~pagemask; */ 4905 4905 newsize = (nb + offset + pagemask) & ~pagemask; 4906 4906 -
TabularUnified trunk/src/samhain_hide.c ¶
r96 r237 581 581 #if SH_KERNEL_NUMERIC >= 132628 582 582 status = (*old_getdents64)(fd, dirp, count); 583 / / status = my_real_getdents64(fd, dirp, count);583 /* status = my_real_getdents64(fd, dirp, count); */ 584 584 #else 585 585 status = (*old_getdents64)(fd, dirp, count); -
TabularUnified trunk/src/sh_log_check.c ¶
r203 r237 1105 1105 printf("%2d: short badpath, expect -4\n", status); 1106 1106 status = sh_add_watch("SYSLOG:/var/log/messages"); 1107 / / status = sh_add_watch("SYSLOG:/var/log/dpkg.log.1");1107 /* status = sh_add_watch("SYSLOG:/var/log/dpkg.log.1"); */ 1108 1108 printf("%2d: short path ok, expect 0\n", status); 1109 1109 … … 1121 1121 fprintf(stderr, "error in fdopen!\n"); exit(EXIT_FAILURE); } 1122 1122 1123 for (i = 0; i < 80; ++i) { fputc ('a', fp); } fputc ('\n', fp); / / 01124 for (i = 0; i < 118; ++i) { fputc ('a', fp); } fputc ('\n', fp); / / 11125 for (i = 0; i < 119; ++i) { fputc ('a', fp); } fputc ('\n', fp); / / 21126 for (i = 0; i < 120; ++i) { fputc ('a', fp); } fputc ('\n', fp); / / 31127 for (i = 0; i < 121; ++i) { fputc ('a', fp); } fputc ('\n', fp); / / 41123 for (i = 0; i < 80; ++i) { fputc ('a', fp); } fputc ('\n', fp); /* 0 */ 1124 for (i = 0; i < 118; ++i) { fputc ('a', fp); } fputc ('\n', fp); /* 1 */ 1125 for (i = 0; i < 119; ++i) { fputc ('a', fp); } fputc ('\n', fp); /* 2 */ 1126 for (i = 0; i < 120; ++i) { fputc ('a', fp); } fputc ('\n', fp); /* 3 */ 1127 for (i = 0; i < 121; ++i) { fputc ('a', fp); } fputc ('\n', fp); /* 4 */ 1128 1128 for (i = 0; i < 238; ++i) { fputc ('a', fp); } fputc ('\n', fp); 1129 1129 for (i = 0; i < 239; ++i) { fputc ('a', fp); } fputc ('\n', fp); -
TabularUnified trunk/src/sh_portcheck.c ¶
r235 r237 1804 1804 */ 1805 1805 1806 / / sh_portchk_add_required ("127.0.0.1 : nlockmgr/tcp, 5308/tcp, nfs/tcp");1806 /* sh_portchk_add_required ("127.0.0.1 : nlockmgr/tcp, 5308/tcp, nfs/tcp"); */ 1807 1807 1808 1808 while (argc > 1 && argv[1][0] == '-') -
TabularUnified trunk/src/sh_string.c ¶
r215 r237 656 656 CuAssertPtrNotNull(tc, fp); 657 657 658 for (i = 0; i < 80; ++i) { fputc ('a', fp); } fputc ('\n', fp); / / 0659 for (i = 0; i < 118; ++i) { fputc ('a', fp); } fputc ('\n', fp); / / 1660 for (i = 0; i < 119; ++i) { fputc ('a', fp); } fputc ('\n', fp); / / 2661 for (i = 0; i < 120; ++i) { fputc ('a', fp); } fputc ('\n', fp); / / 3662 for (i = 0; i < 121; ++i) { fputc ('a', fp); } fputc ('\n', fp); / / 4658 for (i = 0; i < 80; ++i) { fputc ('a', fp); } fputc ('\n', fp); /* 0 */ 659 for (i = 0; i < 118; ++i) { fputc ('a', fp); } fputc ('\n', fp); /* 1 */ 660 for (i = 0; i < 119; ++i) { fputc ('a', fp); } fputc ('\n', fp); /* 2 */ 661 for (i = 0; i < 120; ++i) { fputc ('a', fp); } fputc ('\n', fp); /* 3 */ 662 for (i = 0; i < 121; ++i) { fputc ('a', fp); } fputc ('\n', fp); /* 4 */ 663 663 for (i = 0; i < 238; ++i) { fputc ('a', fp); } fputc ('\n', fp); 664 664 for (i = 0; i < 239; ++i) { fputc ('a', fp); } fputc ('\n', fp); -
TabularUnified trunk/src/slib.c ¶
r227 r237 2029 2029 { 2030 2030 mincore(f_map, fbuf.st_size, vec); 2031 / / imax = fbuf.st_size/page_size;2031 /* imax = fbuf.st_size/page_size; */ 2032 2032 for (i = 0; i <= vec_size; ++i) 2033 2033 {
Note:
See TracChangeset
for help on using the changeset viewer.