]> git.e2factory.org Git - e2factory.git/commitdiff
eio.fread() now requires a size
authorTobias Ulmer <tu@emlix.com>
Wed, 13 Nov 2013 19:18:21 +0000 (20:18 +0100)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 14:41:17 +0000 (15:41 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
global/e2-create-project.lua

index eb8df70af999969279d85f112c0c4b4ba465ed8a..330c5d6666ca8a25935a1a9015d6c2771732871b 100644 (file)
@@ -80,7 +80,7 @@ local function read_template(path)
 
     template = ""
     repeat
-        buf, re = eio.fread(file)
+        buf, re = eio.fread(file, 4096)
         if not buf then
             eio.fclose(file)
             return false, e:cat(re)