[SCM] Lisaac compiler branch, lib_os_64, updated. lisaac-0.12-614-g360dbee

cyrano “nicolas at boulay.name”
Wed Dec 23 01:25:09 UTC 2009


The following commit has been merged in the lib_os_64 branch:
commit 360dbeead0ba3a98dc567a99be447ee556668c79
Author: cyrano <“nicolas at boulay.name”>
Date:   Wed Dec 23 01:30:17 2009 +0100

    typo

diff --git a/lib/internal/os_support/unix/file_system/file_unix.li b/lib/internal/os_support/unix/file_system/file_unix.li
index 493764e..90f7ed6 100644
--- a/lib/internal/os_support/unix/file_system/file_unix.li
+++ b/lib/internal/os_support/unix/file_system/file_unix.li
@@ -28,11 +28,11 @@ Section Header
   - external := `
  /*FILE_UNIX*/ 
  /*from "getconf LFS_CFLAGS" for 64 bits off_t file offset*/
+#define _LARGEFILE_SOURCE 
+#define _FILE_OFFSET_BITS 64 
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#define _LARGEFILE_SOURCE 
-#define _FILE_OFFSET_BITS 64 
   `;
     
 Section Inherit
@@ -82,7 +82,7 @@ Section Public
   ]
   ( + str:INTEGER;    
     str := stream;    
-    `fseek((@str), at n,SEEK_SET)`;
+    `lseek((@str), at n,SEEK_SET)`;
   );    
   
   - open:BOOLEAN <-

-- 
Lisaac compiler



More information about the Lisaac-commits mailing list