unknown-v
a743ecaff9
Windows : fix build
...
curl -Os https://raw.githubusercontent.com/vlang/vc/master/v.c
cc -std=gnu11 -w -o v v.c -lm
ccK5ic4o.o:v.c:(.text+0x6f62): undefined reference to `__imp_gethostname'
collect2.exe: error: ld returned 1 exit status
2019-07-17 00:02:31 +02:00
0x9ef
91a712fdf0
Check for max error code overflow
...
If do not check the overflow of the maximum error code (15841), this can lead to a program crash.
2019-07-17 00:01:42 +02:00
Alexander Medvednikov
090cdcf3b9
os: fix PathSeparator on Windows
2019-07-16 01:59:28 +02:00
Alexander Medvednikov
cc06fe7ae6
os.dir(); fix vroot on Windows
2019-07-16 01:57:06 +02:00
0x9ef
9b5383341d
Add get_error_msg
2019-07-15 20:39:09 +02:00
Paparoni Alvardo
7058333f17
Add get_module_filename
2019-07-15 14:27:33 +02:00
Alexander Medvednikov
1bbf3a3a0c
make compiler
2019-07-02 21:45:51 +02:00
0x9ef
01d5f4d744
Change permission from 'r' to 'rb'
...
it is preferable to open the file in binary mode.
2019-07-01 23:41:32 +02:00
0x9ef
1ca20196d0
Created os_win.v and added `get_file_handle`
2019-07-01 17:57:55 +02:00
Alexander Medvednikov
820aa3d3b3
os: remove os_mac.v and os_win.v, fix os.ls() on Windows
2019-06-30 14:57:27 +02:00
Alexander Medvednikov
4594d78bd6
move all vlib modules to vlib/
2019-06-29 12:00:31 +02:00