Update of /cvsroot/monetdb/buildtools/autogen/autogen
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11351/autogen/autogen
Modified Files:
am.py codegen.py
Log Message:
propagated changes of Friday Feb 22 2008 - Sunday Feb 24 2008
from the MonetDB_1-22 branch to the development trunk
Index: codegen.py
===================================================================
RCS file: /cvsroot/monetdb/buildtools/autogen/autogen/codegen.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- codegen.py 15 Jan 2008 13:42:46 -0000 1.17
+++ codegen.py 24 Feb 2008 16:59:50 -0000 1.18
@@ -181,7 +181,7 @@
def readfilepart(f,ext):
dir,file = os.path.split(f)
fn,fext = split_filename(file)
- src = open(f, 'rb')
+ src = open(f, 'r')
buf = src.read()
src.close()
buf2 = ""
Index: am.py
===================================================================
RCS file: /cvsroot/monetdb/buildtools/autogen/autogen/am.py,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- am.py 11 Jan 2008 10:33:50 -0000 1.67
+++ am.py 24 Feb 2008 16:59:49 -0000 1.68
@@ -1031,7 +1031,7 @@
# use binary mode since automake on Cygwin can't deal with \r\n
# line endings
- fd = open(os.path.join(cwd, 'Makefile.am'), "wb")
+ fd = open(os.path.join(cwd, 'Makefile.am'), "w")
fd.write('''
## This file is generated by autogen.py, do not edit
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins