null+****@clear*****
null+****@clear*****
2012年 4月 3日 (火) 13:23:07 JST
Kouhei Sutou 2012-04-03 13:23:07 +0900 (Tue, 03 Apr 2012) New Revision: 943bca168c3977fc7999829d5fc834e8a2716a16 Log: groonga: use C style comment Modified files: src/groonga.c Modified: src/groonga.c (+4 -4) =================================================================== --- src/groonga.c 2012-04-03 13:22:17 +0900 (b85ee67) +++ src/groonga.c 2012-04-03 13:23:07 +0900 (bc9b08a) @@ -832,7 +832,7 @@ run_server_loop(grn_ctx *ctx, grn_com_event *ev) } grn_edges_delete(ctx, edge); } - // todo : log stat + /* todo : log stat */ } for (;;) { MUTEX_LOCK(q_mutex); @@ -1349,7 +1349,7 @@ do_mbreq(grn_ctx *ctx, grn_edge *edge) cache_init(ctx); rid = grn_table_get(ctx, cache_table, key, keylen); if (!rid) { - // GRN_LOG(ctx, GRN_LOG_NOTICE, "GET k=%d not found", keylen); + /* GRN_LOG(ctx, GRN_LOG_NOTICE, "GET k=%d not found", keylen); */ GRN_MSG_MBRES({ MBRES(ctx, re, MBRES_KEY_ENOENT, 0, 0, 0); }); @@ -1677,7 +1677,7 @@ h_server(char *path) struct rlimit lim; lim.rlim_cur = 4096; lim.rlim_max = 4096; - // RLIMIT_OFILE + /* RLIMIT_OFILE */ setrlimit(RLIMIT_NOFILE, &lim); lim.rlim_cur = 0; lim.rlim_max = 0; @@ -1860,7 +1860,7 @@ g_server(char *path) struct rlimit lim; lim.rlim_cur = 4096; lim.rlim_max = 4096; - // RLIMIT_OFILE + /* RLIMIT_OFILE */ setrlimit(RLIMIT_NOFILE, &lim); lim.rlim_cur = 0; lim.rlim_max = 0;