guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 01/01: Improve deprecation message of 'scm_add_to_port_t


From: Ludovic Courtès
Subject: [Guile-commits] 01/01: Improve deprecation message of 'scm_add_to_port_table'.
Date: Fri, 09 Jan 2015 14:47:25 +0000

civodul pushed a commit to branch stable-2.0
in repository guile.

commit 5d971db802eaa8038db17e1aa5b4c69452739744
Author: Ludovic Courtès <address@hidden>
Date:   Fri Jan 9 15:47:15 2015 +0100

    Improve deprecation message of 'scm_add_to_port_table'.
    
    Reported by Thien-Thi Nguyen <address@hidden>.
    
    * libguile/ports.c (scm_add_to_port_table): Mention
      'scm_new_port_table_entry'.
---
 libguile/ports.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/libguile/ports.c b/libguile/ports.c
index be12a8d..f5d5284 100644
--- a/libguile/ports.c
+++ b/libguile/ports.c
@@ -1,6 +1,6 @@
 /* Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2006,
  *   2007, 2008, 2009, 2010, 2011, 2012, 2013,
- *   2014 Free Software Foundation, Inc.
+ *   2014, 2015 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 License
@@ -702,7 +702,8 @@ scm_add_to_port_table (SCM port)
   SCM z;
   scm_t_port * pt;
 
-  scm_c_issue_deprecation_warning ("scm_add_to_port_table is deprecated.");
+  scm_c_issue_deprecation_warning ("'scm_add_to_port_table' is deprecated.  "
+                                  "Use 'scm_new_port_table_entry' instead.");
 
   scm_i_pthread_mutex_lock (&scm_i_port_table_mutex);
   z = scm_new_port_table_entry (scm_tc7_port);



reply via email to

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