Skip to content

Commit b0600c0

Browse files
Drop CAA initials from comments; who was this?
1 parent f809418 commit b0600c0

File tree

11 files changed

+30
-34
lines changed

11 files changed

+30
-34
lines changed

libtrn/hash.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ static int default_cmp(const char *key, int keylen, HASHDATUM data);
4040
static HASHENT *healloc();
4141
static void hefree(HASHENT *hp);
4242

43-
/* CAA: In the future it might be a good idea to preallocate a region
44-
* of hashents, since allocation overhead on some systems will be as
45-
* large as the structure itself.
43+
/* In the future it might be a good idea to preallocate a region
44+
* of hashents, since allocation overhead on some systems will be as
45+
* large as the structure itself.
4646
*/
4747
/* grab this many hashents at a time (under 1024 for malloc overhead) */
4848
enum
@@ -55,8 +55,8 @@ enum
5555
*/
5656
/* #define HASH_FREE_ENTRIES */
5757

58-
/* CAA: increased from 600. Each threaded article requires at least
59-
* one hashent, and various newsgroup hashes can easily get large.
58+
/* increased from 600. Each threaded article requires at least
59+
* one hashent, and various newsgroup hashes can easily get large.
6060
*/
6161
/* tunable parameters */
6262
enum

libtrn/include/trn/opt.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ enum option_index
104104

105105
OI_TRN_LAST = OI_OLD_MTHREADS_DATABASE,
106106

107-
/* CAA: There are no current plans for scan modes other than article.
108-
* The general-scan options might as well be displayed in the same
109-
* section as the article-scan options.
107+
/* There are no current plans for scan modes other than article.
108+
* The general-scan options might as well be displayed in the same
109+
* section as the article-scan options.
110110
*/
111111
OI_SCANA_FOLLOW = OI_TRN_LAST + 2,
112112
OI_SCANA_FOLD,

libtrn/ng.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ do_newsgroup_result do_newsgroup(char *start_command)
225225

226226
/* now read each unread article */
227227

228-
/* CAA: if we are going directly to an article, set things up here */
228+
/* if we are going directly to an article, set things up here */
229229
if (g_ng_go_artnum)
230230
{
231231
ng_virtual = true;
@@ -1110,7 +1110,7 @@ static art_switch_result art_switch()
11101110
}
11111111
else
11121112
{
1113-
/* TODO: will this work with 4.0? CAA */
1113+
/* TODO: will this work with 4.0? */
11141114
if (g_sa_in && g_threaded_group)
11151115
{
11161116
ARTICLE* old_artp = g_artp;

libtrn/ngstuff.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
bool g_one_command{}; /* no ':' processing in perform() */
3737
std::string g_savedir; /* -d */
3838

39-
/* CAA: given the new and complex universal/help possibilities,
40-
* the following interlock variable may save some trouble.
41-
* (if true, we are currently processing options)
39+
/* given the new and complex universal/help possibilities,
40+
* the following interlock variable may save some trouble.
41+
* (if true, we are currently processing options)
4242
*/
4343
static bool s_option_sel_ilock{};
4444

libtrn/opt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ void set_option(option_index num, const char *s)
915915

916916
case OI_SCANA_DISPSUBJ:
917917
#if 0
918-
/* CAA: for now, always on. */
918+
/* for now, always on. */
919919
g_sa_mode_desc_subject = YES(s);
920920
#endif
921921
break;

libtrn/rt-select.cpp

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -421,22 +421,18 @@ static void sel_dogroups()
421421

422422
case NG_MINUS:
423423
np = g_recent_ng;
424-
#if 0
425-
/* CAA: I'm not sure why I wrote this originally--it seems unnecessary */
426-
np->flags |= NF_VISIT;
427-
#endif
428424
goto do_group;
429425

430426
case NG_NOSERVER:
431427
nntp_server_died(np->rc->datasrc);
432428
(void) first_page();
433429
break;
434430

435-
/* CAA extensions */
431+
/* extensions */
436432
case NG_GO_ARTICLE:
437433
np = g_ng_go_ngptr;
438434
goto do_group;
439-
/* later: possible go-to-newsgroup (applicable?) */
435+
/* later: possible go-to-newsgroup (applicable?) */
440436
}
441437
}
442438
loop_break:
@@ -1067,7 +1063,7 @@ static void sel_status_msg(const char *cp)
10671063
std::fputs(cp, stdout);
10681064
g_term_col = std::strlen(cp);
10691065
goto_xy(0,g_sel_items[g_sel_item_index].line);
1070-
std::fflush(stdout); /* CAA: otherwise may not be visible */
1066+
std::fflush(stdout); /* otherwise may not be visible */
10711067
s_disp_status_line = 2;
10721068
}
10731069

@@ -1076,9 +1072,9 @@ static char sel_input()
10761072
int j;
10771073
int sel_number;
10781074

1079-
/* CAA: TRN proudly continues the state machine traditions of RN.
1080-
* April 2, 1996: 28 gotos in this function. Conversion to
1081-
* structured programming is left as an exercise for the reader.
1075+
/* TRN proudly continues the state machine traditions of RN.
1076+
* April 2, 1996: 28 gotos in this function. Conversion to
1077+
* structured programming is left as an exercise for the reader.
10821078
*/
10831079
/* If one immediately types a goto command followed by a dash ('-'),
10841080
* the following will be the default action.
@@ -1104,7 +1100,7 @@ static char sel_input()
11041100
reinp_selector:
11051101
if (s_removed_prompt & RP_MOUSEBAR)
11061102
{
1107-
goto position_selector; /* (CAA: TRN considered harmful? :-) */
1103+
goto position_selector; /* (TRN considered harmful? :-) */
11081104
}
11091105
/* Grab some commands from the user */
11101106
std::fflush(stdout);

libtrn/scmd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ int s_docmd()
296296

297297
#if 0
298298
case '&': /* see/set switches... */
299-
/* CAA 05/29/95: The new option stuff makes this potentially recursive.
299+
/* The new option stuff makes this potentially recursive.
300300
* Something similar to the 'H' (extended help) code needs to be done.
301301
* It may be necessary for this code to do the context saving.
302302
*/

libtrn/score.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ void sc_rescore_arts()
469469
}
470470

471471
/* Wrapper to isolate scorefile functions from the rest of the world */
472-
/* corrupted (:-) 11/12/92 by CAA for online rescoring */
472+
/* corrupted (:-) for online rescoring */
473473
void sc_append(char *line)
474474
{
475475
if (!line) /* empty line */
@@ -635,7 +635,7 @@ void sc_kill_threshold(int thresh)
635635
{
636636
if (article_ptr(a)->score <= thresh &&
637637
article_unread(a)
638-
/* CAA 6/19/93: this is needed for zoom mode */
638+
/* this is needed for zoom mode */
639639
&& sa_basic_elig(sa_artnum_to_ent(a)))
640640
{
641641
oneless_artnum(a);

libtrn/scorefile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ static int sf_open_file(const char *name)
14711471
s_sf_files[i].lines = (char**)saferealloc((char*)s_sf_files[i].lines,
14721472
s_sf_files[i].num_alloc*sizeof(char**));
14731473
}
1474-
/* CAA: I kind of like the next line in a twisted sort of way. */
1474+
/* I kind of like the next line in a twisted sort of way. */
14751475
s_sf_files[i].lines[s_sf_files[i].num_lines++] = mp_savestr(s,MP_SCORE2);
14761476
}
14771477
std::fclose(fp);

libtrn/spage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ bool s_refillpage()
263263
}
264264

265265
i = 1;
266-
/* CAA misc note: I used to have
266+
/* misc note: I used to have
267267
* a = g_page_ents[1];
268268
* ...at this point. This caused a truly difficult to track bug...
269269
* (briefly, occasionally the entry in g_page_ents[1] would be

0 commit comments

Comments
 (0)