guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] GNU Guile branch, master, updated. v2.1.0-192-g8806b4c


From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, master, updated. v2.1.0-192-g8806b4c
Date: Tue, 06 Dec 2011 18:06:24 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=8806b4c28a7919b236d10751ebcb15f4a503b08c

The branch, master has been updated
       via  8806b4c28a7919b236d10751ebcb15f4a503b08c (commit)
       via  f5b870d81650178a42e4794fd7ccc63751cb02cc (commit)
      from  c9caa6c88d2b48f62ae0485518ff2a7f2cef5f29 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8806b4c28a7919b236d10751ebcb15f4a503b08c
Author: Andy Wingo <address@hidden>
Date:   Tue Dec 6 19:06:13 2011 +0100

    enable port locking
    
    * libguile/ports.c (scm_c_make_port_with_encoding): Enable port
      locking.

commit f5b870d81650178a42e4794fd7ccc63751cb02cc
Author: Andy Wingo <address@hidden>
Date:   Tue Dec 6 19:05:52 2011 +0100

    fix scm_adjust_port_revealed_x FUNC_NAME
    
    * libguile/ports.c (scm_adjust_port_revealed_x): Fix FUNC_NAME.

-----------------------------------------------------------------------

Summary of changes:
 libguile/ports.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/libguile/ports.c b/libguile/ports.c
index 1aa5c61..bee2c86 100644
--- a/libguile/ports.c
+++ b/libguile/ports.c
@@ -582,11 +582,8 @@ scm_c_make_port_with_encoding (scm_t_bits tag, unsigned 
long mode_bits,
   SCM_SET_CELL_WORD_1 (ret, (scm_t_bits) entry);
   SCM_SET_CELL_WORD_2 (ret, (scm_t_bits) ptob);
 
-  entry->lock = NULL;
-#if 0
   entry->lock = scm_gc_malloc_pointerless (sizeof (*entry->lock), "port lock");
   scm_i_pthread_mutex_init (entry->lock, scm_i_pthread_mutexattr_recursive);
-#endif
 
   entry->file_name = SCM_BOOL_F;
   entry->rw_active = SCM_PORT_NEITHER;
@@ -1188,7 +1185,7 @@ SCM_DEFINE (scm_adjust_port_revealed_x, 
"adjust-port-revealed!", 2, 0, 0,
            (SCM port, SCM addend),
            "Add @var{addend} to the revealed count of @var{port}.\n"
            "The return value is unspecified.")
-#define FUNC_NAME s_scm_set_port_revealed_x
+#define FUNC_NAME s_scm_adjust_port_revealed_x
 {
   scm_i_pthread_mutex_t *lock;
   int a;


hooks/post-receive
-- 
GNU Guile



reply via email to

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