This website works better with JavaScript.
Home
Help
Register
Sign In
mirrors
/
libowfat
mirror of
/home/gitosis/repositories/libowfat.git
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
fix mmap_shared
master
Felix von Leitner
16 years ago
parent
2ea308d374
commit
21e8a144c1
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
CHANGES
+1
-1
mmap/mmap_shared.c
+ 1
- 0
CHANGES
View File
@ -6,6 +6,7 @@
' '; needed for web servers, so they can serve libstdc++.tar.gz)
fix iob_write to handle failure properly
document that the iob_write callback should limit itself
fix mmap_shared
add iob_free, add man pages for iob_free and iob_reset
0.21:
+ 1
- 1
mmap/mmap_shared.c
View File
@ -23,7 +23,7 @@ extern char* mmap_shared(const char* filename,unsigned long* filesize) {
CloseHandle
(
fd
)
;
return
map
;
#
else
int
fd
=
open_r
ead
(
filename
)
;
int
fd
=
open_r
w
(
filename
)
;
char
*
map
;
if
(
fd
>
=
0
)
{
*
filesize
=
lseek
(
fd
,
0
,
SEEK_END
)
;
Write
Preview
Loading…
Cancel
Save