Oops, lameness. Also: switch the two comments on the previous commits of these two files.

git-svn-id: svn://10.0.0.236/trunk@35250 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edwin%woudt.nl 1999-06-14 22:36:19 +00:00
parent 2ce886b9fe
commit 2ec00ce50f
2 changed files with 5 additions and 4 deletions

View File

@ -16,7 +16,7 @@
* The Initial Developer of the Original Code is dog.
* Portions created by dog are Copyright (C) 1998 dog <dog@dog.net.uk>. All Rights Reserved.
*
* Contributor(s): n/a.
* Contributor(s): Edwin Woudt <edwin@woudt.nl>
*/
package dog.mail.nntp;
@ -411,14 +411,15 @@ public class NNTPStore extends Store implements StatusSource {
// Attempts to discover which newsgroups exist and which articles have been read.
void readNewsrc() {
try {
File newsrc;
String osname = System.getProperties().getProperty("os.name");
if (osname.startsWith("Windows") || osname.startsWith("Win32") ||
osname.startsWith("Win16") || osname.startsWith("16-bit Windows")) {
File newsrc = new File(System.getProperty("user.home")+File.separator+"news-"+getHostName()+".rc");
newsrc = new File(System.getProperty("user.home")+File.separator+"news-"+getHostName()+".rc");
if (!newsrc.exists())
newsrc = new File(System.getProperty("user.home")+File.separator+"news.rc");
} else {
File newsrc = new File(System.getProperty("user.home")+File.separator+".newsrc-"+getHostName());
newsrc = new File(System.getProperty("user.home")+File.separator+".newsrc-"+getHostName());
if (!newsrc.exists())
newsrc = new File(System.getProperty("user.home")+File.separator+".newsrc");
}

View File

@ -16,7 +16,7 @@
* The Initial Developer of the Original Code is dog.
* Portions created by dog are Copyright (C) 1998 dog <dog@dog.net.uk>. All Rights Reserved.
*
* Contributor(s): n/a.
* Contributor(s): Edwin Woudt <edwin@woudt.nl>
*/
package dog.mail.nntp;