Use uppercase in TODO/FIXME.
authorEuler Taveira de Oliveira <euler@timbira.com>
Wed, 18 Dec 2013 23:36:19 +0000 (20:36 -0300)
committerEuler Taveira de Oliveira <euler@timbira.com>
Wed, 18 Dec 2013 23:36:19 +0000 (20:36 -0300)
Some popular editors (like Vim) highlight uppercase keywords like TODO,
FIXME, and XXX.

Makefile
include/bouncer.h
src/admin.c
src/pooler.c
src/sbuf.c
test/asynctest.c

index 5f5b3393fabef3a6c2c6bacfaf96777813b2f68c..34bad2855c86f03dc32e6eb6992de9c18c77d43a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -65,7 +65,7 @@ EXTRA_DIST = AUTHORS COPYRIGHT Makefile \
             win32/Makefile \
             $(LIBUSUAL_DIST)
 
-# libusual files (fixme: list should be provided by libusual...)
+# libusual files (FIXME: list should be provided by libusual...)
 LIBUSUAL_DIST = $(filter-out %/config.h, $(wildcard \
                lib/usual/*.[chg] \
                lib/usual/*/*.[ch] \
index a8437b757c258dd42ae13385ca3a1aee52a94f9b..60d33d5439215b9c78df5e4fe5b8d56696fff60c 100644 (file)
@@ -238,7 +238,7 @@ struct PgPool {
 /*
  * A user in login db.
  *
- * fixme: remove ->head as ->tree_node should be enough.
+ * FIXME: remove ->head as ->tree_node should be enough.
  *
  * For databases where remote user is forced, the pool is:
  * first(db->forced_user->pool_list), where pool_list has only one entry.
index 0f7e8714e9688baf5667da965fd47e2bc9485d82..4473b81aefb832d72466a2ce9078ef0b91c04a50 100644 (file)
@@ -1479,7 +1479,7 @@ void admin_pause_done(void)
                        if (count_paused_databases() > 0)
                                res = admin_ready(admin, "PAUSE");
                        else
-                               /* fixme */
+                               /* FIXME */
                                fatal("admin_pause_done: bad state");
                }
 
index 5d7a81602eff6a3e1547956293c6aa21198a23db..906b7e42f24ec9f99c5ab9314a2d9dab816e9074 100644 (file)
@@ -209,7 +209,7 @@ static void tune_accept(int sock, bool on)
        const char *act = on ? "install" : "uninstall";
        int res = 0;
 #ifdef TCP_DEFER_ACCEPT
-       int val = 45; /* fixme: proper value */
+       int val = 45; /* FIXME: proper value */
        socklen_t vlen = sizeof(val);
        res = getsockopt(sock, IPPROTO_TCP, TCP_DEFER_ACCEPT, &val, &vlen);
        log_noise("old TCP_DEFER_ACCEPT on %d = %d", sock, val);
index 0a37584b168d830d90e5d09b5294673f6a88ccbe..f481a47d511c37837434a96762d6de2792d3eaad 100644 (file)
@@ -290,7 +290,7 @@ void sbuf_prepare_fetch(SBuf *sbuf, unsigned amount)
 
        sbuf->pkt_action = ACT_CALL;
        sbuf->pkt_remain = amount;
-       /* sbuf->dst = NULL; // fixme ?? */
+       /* sbuf->dst = NULL; // FIXME ?? */
 }
 
 /*************************
index a290d97bcd4fcf0a29785d890a96c6e13d1ff8a3..00f5e6ec9a61f900a7cf155c2cb20898aba57b71 100644 (file)
@@ -232,7 +232,7 @@ static bool another_result(DbConn *db)
 
        switch (PQresultStatus(res)) {
        case PGRES_TUPLES_OK:
-               /* todo: check result */
+               /* TODO: check result */
                if (db->_arglen > 0) {
                        int curlen = strlen(PQgetvalue(res, 0, 0));
                        if (curlen != db->_arglen) {