commit d10c7ef4e1ae70ab4e6914ec24c6c66fa21d6340
parent b57afa7a0e3043ebc9747fce23d926a12b70ae12
Author: Andres Navarro <canavarro82@gmail.com>
Date: Wed, 9 Nov 2011 14:21:42 -0300
Updated copyright notices to reflect Oto Havle's contributions.
Diffstat:
8 files changed, 51 insertions(+), 40 deletions(-)
diff --git a/COPYRIGHT b/COPYRIGHT
@@ -9,7 +9,7 @@ under the MIT license.
===============================================================================
-klisp Parts: Copyright (C) 2011 Andres Navarro.
+klisp Parts: Copyright (C) 2011 Andres Navarro, Oto Havle.
Lua Parts: Copyright (C) 1994-2010 Lua.org, PUC-Rio.
IMath Parts: Copyright (C) 2002-2007 Michael J. Fromberger.
srfi-78: Copyright (C) 2005-2006 Sebastian Egner.
diff --git a/README b/README
@@ -22,7 +22,7 @@ README for klisp 0.2
klisp is freely available for both academic and commercial purposes.
See COPYRIGHT for details.
klisp can be downloaded at
- http://www.bitbucket.org/AndresNavarro/klisp
+ https://bitbucket.org/AndresNavarro/klisp
* Installation
@@ -41,5 +41,7 @@ README for klisp 0.2
klisp is developed by Andres Navarro, a Computer Science
undergraduate at Buenos Aires University (UBA). You can reach him at
<canavarro82@gmail.com>.
+ Significant contributions are being made by Oto Havle in his fork
+ over at https://bitbucket.org/havleoto/klisp
(end of README)
diff --git a/manual/html/Introduction.html b/manual/html/Introduction.html
@@ -66,11 +66,13 @@ done); applicatives themselves are mere facilitators to computation.
<p>klisp is freely available for both academic and commercial purposes.
See LICENSE for details. it can be downloaded at
-<a href="http://www.bitbucket.org/AndresNavarro/klisp">http://www.bitbucket.org/AndresNavarro/klisp</a>
+<a href="https://bitbucket.org/AndresNavarro/klisp">https://bitbucket.org/AndresNavarro/klisp</a>
<p>klisp is developed by Andres Navarro, a Computer Science
undergraduate at Buenos Aires University (UBA). You can reach him at
-<a href="mailto:canavarro82@gmail.com">canavarro82@gmail.com</a>.
+<a href="mailto:canavarro82@gmail.com">canavarro82@gmail.com</a>. Significant contributions are being
+done by Oto Havle, his fork is at
+<a href="https://bitbucket.org/havleoto/klisp">https://bitbucket.org/havleoto/klisp</a>.
<p>This manual describes klisp version 0.2, presuming some familiarity
with the Lisp family of languages in general, and with the Kernel
diff --git a/manual/html/License.html b/manual/html/License.html
@@ -39,7 +39,7 @@ The two projects whose code klisp uses, Lua & IMath, are also distributed
under the MIT license.
<ul>
-<li>klisp Parts: Copyright © 2011 Andres Navarro.
+<li>klisp Parts: Copyright © 2011 Andres Navarro, Oto Havle.
<li>Lua Parts: Copyright © 1994-2010 Lua.org, PUC-Rio.
<li>IMath Parts: Copyright © 2002-2007 Michael J. Fromberger.
<li>srfi-78: Copyright © 2005-2006 Sebastian Egner.
diff --git a/manual/klisp.info b/manual/klisp.info
@@ -67,7 +67,7 @@ academic and commercial purposes at absolutely no cost. The two
projects whose code klisp uses, Lua & IMath, are also distributed under
the MIT license.
- * klisp Parts: Copyright (C) 2011 Andres Navarro.
+ * klisp Parts: Copyright (C) 2011 Andres Navarro, Oto Havle.
* Lua Parts: Copyright (C) 1994-2010 Lua.org, PUC-Rio.
@@ -136,11 +136,12 @@ applicatives themselves are mere facilitators to computation.
klisp is freely available for both academic and commercial purposes.
See LICENSE for details. it can be downloaded at
-`http://www.bitbucket.org/AndresNavarro/klisp'
+`https://bitbucket.org/AndresNavarro/klisp'
klisp is developed by Andres Navarro, a Computer Science
undergraduate at Buenos Aires University (UBA). You can reach him at
-<canavarro82@gmail.com>.
+<canavarro82@gmail.com>. Significant contributions are being done by
+Oto Havle, his fork is at `https://bitbucket.org/havleoto/klisp'.
This manual describes klisp version 0.2, presuming some familiarity
with the Lisp family of languages in general, and with the Kernel
@@ -2706,32 +2707,32 @@ Index
Tag Table:
Node: Top703
Node: License2601
-Node: Introduction4272
-Node: Caveats7095
-Node: Kernel History7881
-Node: Conventions9326
-Node: Some Terms9997
-Node: Evaluation Notation10668
-Node: Printing Notation11689
-Node: Error Messages12165
-Node: Format of Descriptions12813
-Node: A Sample Applicative Description13377
-Node: Acknowledgements15140
-Node: Booleans15526
-Node: Equivalence18068
-Node: Symbols18861
-Node: Control20227
-Node: Pairs and lists22544
-Node: Environments39567
-Node: Combiners49774
-Node: Continuations55810
-Node: Encapsulations63984
-Node: Promises65437
-Node: Keyed Variables69360
-Node: Numbers72131
-Node: Strings91630
-Node: Characters96977
-Node: Ports99687
-Node: Alphabetical Index112662
+Node: Introduction4283
+Node: Caveats7213
+Node: Kernel History7999
+Node: Conventions9444
+Node: Some Terms10115
+Node: Evaluation Notation10786
+Node: Printing Notation11807
+Node: Error Messages12283
+Node: Format of Descriptions12931
+Node: A Sample Applicative Description13495
+Node: Acknowledgements15258
+Node: Booleans15644
+Node: Equivalence18186
+Node: Symbols18979
+Node: Control20345
+Node: Pairs and lists22662
+Node: Environments39685
+Node: Combiners49892
+Node: Continuations55928
+Node: Encapsulations64102
+Node: Promises65555
+Node: Keyed Variables69478
+Node: Numbers72249
+Node: Strings91748
+Node: Characters97095
+Node: Ports99805
+Node: Alphabetical Index112780
End Tag Table
diff --git a/manual/src/intro.texi b/manual/src/intro.texi
@@ -12,7 +12,7 @@ under the MIT license.
@itemize @bullet
@item
-klisp Parts: Copyright @copyright{} 2011 Andres Navarro.
+klisp Parts: Copyright @copyright{} 2011 Andres Navarro, Oto Havle.
@item
Lua Parts: Copyright @copyright{} 1994-2010 Lua.org, PUC-Rio.
@item
@@ -78,11 +78,13 @@ done); applicatives themselves are mere facilitators to computation.
klisp is freely available for both academic and commercial purposes.
See LICENSE for details. it can be downloaded at
-@url{http://www.bitbucket.org/AndresNavarro/klisp}
+@url{https://bitbucket.org/AndresNavarro/klisp}
klisp is developed by Andres Navarro, a Computer Science
undergraduate at Buenos Aires University (UBA). You can reach him at
-@email{canavarro82@@gmail.com}.
+@email{canavarro82@@gmail.com}. Significant contributions are being
+done by Oto Havle, his fork is at
+@url{https://bitbucket.org/havleoto/klisp}.
This manual describes klisp version 0.2, presuming some familiarity
with the Lisp family of languages in general, and with the Kernel
diff --git a/src/kgports.c b/src/kgports.c
@@ -606,6 +606,8 @@ void delete_file(klisp_State *K, TValue *xparams, TValue ptree, TValue denv)
/* TEMP: this should probably be done in a operating system specific
manner, but this will do for now */
+ /* XXX: this could fail if there's a dead (in the gc sense) port still
+ open, should probably retry once after doing a complete GC */
if (remove(kstring_buf(filename))) {
klispE_throw_errno_with_irritants(K, "remove", 1, filename);
return;
@@ -626,6 +628,8 @@ void rename_file(klisp_State *K, TValue *xparams, TValue ptree, TValue denv)
/* TEMP: this should probably be done in a operating system specific
manner, but this will do for now */
+ /* XXX: this could fail if there's a dead (in the gc sense) port still
+ open, should probably retry once after doing a complete GC */
if (rename(kstring_buf(old_filename), kstring_buf(new_filename))) {
klispE_throw_errno_with_irritants(K, "rename", 2, old_filename, new_filename);
return;
diff --git a/src/klisp.h b/src/klisp.h
@@ -38,8 +38,8 @@ klisp_State *klisp_newstate (klisp_Alloc f, void *ud);
void klisp_close (klisp_State *K);
/******************************************************************************
-* Copyright (C) 2011 Andres Navarro. All rights reserved.
-* Lua parts: Copyright (C) 1994-2010 Lua.org, PUC-Rio. All rights reserved.
+* Copyright (C) 2011 Andres Navarro, Oto Havle.
+* Lua parts: Copyright (C) 1994-2010 Lua.org, PUC-Rio.
* IMath Parts: Copyright (C) 2002-2007 Michael J. Fromberger.
* srfi-78: Copyright (C) 2005-2006 Sebastian Egner.
*