Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
fd58082a
Commit
fd58082a
authored
Dec 27, 2019
by
Kirill Smelkov
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X Fix build on old GCC
Similarly to
pygolang@77719d8a
parent
0dfddece
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
bigfile/file_zodb.cpp
bigfile/file_zodb.cpp
+10
-4
wcfs/internal/wcfs_watchlink.h
wcfs/internal/wcfs_watchlink.h
+1
-1
No files found.
bigfile/file_zodb.cpp
View file @
fd58082a
...
...
@@ -73,8 +73,14 @@ static void zfile_munmap(VMA *vma, BigFile *file) {
// NOTE reusing whole bigfile_ops for just .mmap* ops.
extern
const
bigfile_ops
ZBigFile_mmap_ops
;
const
bigfile_ops
ZBigFile_mmap_ops
=
{
.
mmap_setup_read
=
zfile_mmap_setup_read
,
.
remmap_blk_read
=
zfile_remmap_blk_read
,
.
munmap
=
zfile_munmap
,
static
bigfile_ops
_mkZBigFile_mmap_ops
()
{
// workaround for "sorry, unimplemented: non-trivial designated initializers not supported"
bigfile_ops
_
;
_
.
mmap_setup_read
=
zfile_mmap_setup_read
;
_
.
remmap_blk_read
=
zfile_remmap_blk_read
;
_
.
munmap
=
zfile_munmap
;
_
.
loadblk
=
NULL
;
_
.
storeblk
=
NULL
;
return
_
;
};
const
bigfile_ops
ZBigFile_mmap_ops
=
_mkZBigFile_mmap_ops
();
wcfs/internal/wcfs_watchlink.h
View file @
fd58082a
...
...
@@ -58,7 +58,7 @@ struct rxPkt {
error
from_string
(
const
string
&
rx
);
string
to_string
()
const
;
};
static_assert
(
sizeof
(
rxPkt
)
==
256
);
// NOTE 128 is too low for long error message
static_assert
(
sizeof
(
rxPkt
)
==
256
,
"rxPkt miscompiled"
);
// NOTE 128 is too low for long error message
// WatchLink represents /head/watch link opened on wcfs.
...
...
Kirill Smelkov
@kirr
mentioned in commit
c5e18c74
·
Oct 28, 2021
mentioned in commit
c5e18c74
mentioned in commit c5e18c742b285637a043e07aee936ee470c41ba5
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment