guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 17/18: Deprecate (ice-9 lineio)


From: Andy Wingo
Subject: [Guile-commits] 17/18: Deprecate (ice-9 lineio)
Date: Thu, 8 Jun 2023 04:26:43 -0400 (EDT)

wingo pushed a commit to branch main
in repository guile.

commit ee18ca9a355ca0d3fdd384a4b8db3bb3909d0c98
Author: Andy Wingo <wingo@pobox.com>
AuthorDate: Mon Jun 5 22:20:11 2023 +0200

    Deprecate (ice-9 lineio)
    
    * module/ice-9/lineio.scm: Deprecate.
---
 module/ice-9/lineio.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/module/ice-9/lineio.scm b/module/ice-9/lineio.scm
index 68f290369..f9904e084 100644
--- a/module/ice-9/lineio.scm
+++ b/module/ice-9/lineio.scm
@@ -1,6 +1,6 @@
 ;;; installed-scm-file
 
-;;;;   Copyright (C) 1996, 1998, 2001, 2003, 2006 Free Software Foundation, 
Inc.
+;;;;   Copyright (C) 1996, 1998, 2001, 2003, 2006, 2023 Free Software 
Foundation, Inc.
 ;;;; 
 ;;;; This library is free software; you can redistribute it and/or
 ;;;; modify it under the terms of the GNU Lesser General Public
@@ -24,6 +24,10 @@
   :export (unread-string read-string lineio-port?
           make-line-buffering-input-port))
 
+(issue-deprecation-warning
+ "(ice-9 lineio) is deprecated.  Use read-line together with
+unread-string instead.")
+
 
 ;;; {Line Buffering Input Ports}
 ;;;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]