;;; -*-Scheme-*-
;;;
-;;; $Id: snr.scm,v 1.2 1995/05/06 02:21:51 cph Exp $
+;;; $Id: snr.scm,v 1.3 1995/10/25 02:17:51 cph Exp $
;;;
;;; Copyright (c) 1995 Massachusetts Institute of Technology
;;;
(define (newsrc-file-buffer connection)
(find-file-noselect (os/newsrc-file-name (nntp-connection:server connection))
#f))
-
-(define (os/newsrc-file-name server)
- (let ((homedir (user-homedir-pathname)))
- (if (os2/fs-long-filenames? homedir)
- (let ((specific
- (merge-pathnames (string-append ".newsrc-" server)
- homedir)))
- (if (file-exists? specific)
- specific
- (merge-pathnames ".newsrc" homedir)))
- (merge-pathnames "newsrc.ini" homedir))))
\f
;;;; Miscellaneous
;;; -*-Scheme-*-
;;;
-;;; $Id: unix.scm,v 1.60 1995/10/12 22:59:35 cph Exp $
+;;; $Id: unix.scm,v 1.61 1995/10/25 02:18:34 cph Exp $
;;;
;;; Copyright (c) 1989-95 Massachusetts Institute of Technology
;;;
(ns (decoded-time/minute dt) 2 #\0))
(string-append " "
(number->string
- (decoded-time/year dt)))))))
\ No newline at end of file
+ (decoded-time/year dt)))))))
+
+(define (os/newsrc-file-name server)
+ (let ((homedir (user-homedir-pathname)))
+ (let ((specific
+ (merge-pathnames (string-append ".newsrc-" server) homedir)))
+ (if (file-exists? specific)
+ specific
+ (merge-pathnames ".newsrc" homedir)))))
\ No newline at end of file