Article View: news.software.nn
Article #4134bugfixes (long)
From: Gregory A. Parmer
Date: Mon, 03 May 1993 19:58
Date: Mon, 03 May 1993 19:58
142 lines
4724 bytes
4724 bytes
The FAQ says this is the current place to send bugfixes,
so here goes....
We have been using "nn" for several months with the
following bug fixes. So far I do not think we have
introduced any new ones.
I tried to *really* mark the changes made in the source code so
please pardon the useless comments.
Hope you find the fixes useful.
-greg
===============================================================================
Gregory A. Parmer |INTERNET: gparmer@acenet.auburn.edu
Computing Applications Specialist |VOICE: (205) 844-9660
Alabama Cooperative Extension Service |FAX: (205) 844-3501
Auburn University, AL 36849-5646 |
===============================================================================
Bugs------
1. The macros in the init file were not being processed
when the "m" (merged_menu) or "a" (catch up)
options were used. Calls to "m_invoke()" were added
in each case.
See merge_and_read() in group.c and catch_up() in nn.c.
2. Added the ability to read input keystrokes from a file
when using "a" option.
See catch_up() in nn.c.
3. Articles which had already been read were being re-read
with the "m" merge option instead of reading only
unread articles!
See merge_and_read() in group.c.
4. If there was no .newsrc file but a ".newsrc.bak" file existed
it was not properly using the backup.
See visit_rc_file() in newsrc.c.
MINOR "Enhancements" (?) ---
5. Changed wording of copyright to be slightly more descriptive.
See prt_version().
6. Changed wording of "append to .newsrc" to "Subscribe" for
user friendliness.
See visit_rc_file().
7. Removed the accounting info message about time used. Need to
add a "quiet" option to *all* calls to do_cost(), IMHO.
See do_cost().
=========
:diff group.c group.c.FCS
35,37d34
<
< #define setup_access() ACC_PARSE_VARIABLES
<
912,922d908
<
<
< /******* Greg was here!!! ********/
< if (access_mode == 0 && !also_read_articles)
< m_invoke(-2);
<
< access_mode |= setup_access();
< /******* Greg was here!!! ********/
<
<
<
975,980c961
< /******* Greg was here!!! ********/
< /* This line is replaced by the "first_article" line below. */
< /* access_group(gh, (article_number)(-1), gh->last_db_article, */
< /******* Greg was here!!! ********/
<
< access_group(gh, gh->first_article, gh->last_db_article,
---
> access_group(gh, (article_number)(-1), gh->last_db_article,
:diff nn.c nn.c.FCS
355,356c355
< /* char answer[50]; */
< char *answer;
---
> char answer[50];
362,368d360
< /******* Greg was here!!! ********/
< if (!also_read_articles)
< m_invoke(-2);
<
< access_mode |= setup_access();
< /******* Greg was here!!! ********/
<
375,380c367
< /******* Greg was here!!! ********/
< answer = get_s(NONE, NONE, NONE, NULL_FCT);
< if (answer != NULL) {
<
< /* if (gets(answer)) { */
< /******* Greg was here!!! ********/
---
> if (gets(answer)) {
628c615
< printf("nn Release %s, copyright Kim F. Storm, 1991\n\n", version_id);
---
> printf("Release %s, Kim F. Storm, 1991\n\n", version_id);
1013d999
< /**** Greg was here.. I deleted this line and replaced it with the following one...
1015,1016d1000
< ***************************************************************/
< merge_and_read(access_mode, mask);
:diff newsrc.c newsrc.c.FCS
379c379
< else switch (new_group_action) {
---
> switch (new_group_action) {
488c488
< printf("\nNew group: %s -- Subscribe? (y)",
---
> printf("\nNew group: %s -- append to .newsrc? (y)",
:diff account.c account.c.FCS
253c253
< /* #else
---
> #else
255c255
< ses/60, ses%60, ac->ac_total/60, ac->ac_total%60); */
---
> ses/60, ses%60, ac->ac_total/60, ac->ac_total%60);
Technical Details
Message-ID:
<gparmer.736459093@newshost.acenet.auburn.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!darwin.sura.net!news.duc.auburn.edu!aces17!newshost.acenet.auburn.edu!gparmerShow Full Headers
Complete Article Headers
Message-ID: <gparmer.736459093@newshost.acenet.auburn.edu> Subject: bugfixes (long) Date: Mon, 3 May 1993 19:58:13 GMT From: gparmer@acenet.auburn.edu (Gregory A. Parmer) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!darwin.sura.net!news.duc.auburn.edu!aces17!newshost.acenet.auburn.edu!gparmer Newsgroups: news.software.nn Summary: fixed a couple of bugs with merge option Keywords: nn merge catchup new_group_action Sender: news@acenet.auburn.edu (Usenet News) Nntp-Posting-Host: aces6 Organization: Alabama Cooperative Extension Service, Auburn University Lines: 143