SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
inputmethods/libskk/patches/patch-libskk_file-dict_c
Normal file
12
inputmethods/libskk/patches/patch-libskk_file-dict_c
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: libskk/file-dict.c
|
||||
--- libskk/file-dict.c.orig
|
||||
+++ libskk/file-dict.c
|
||||
@@ -398,7 +398,7 @@ skk_file_dict_read_until (SkkFileDict* self,
|
||||
_tmp0_ = self->priv->mmap;
|
||||
_tmp1_ = skk_memory_mapped_file_get_length (_tmp0_);
|
||||
_tmp2_ = _tmp1_;
|
||||
- g_return_val_if_fail (((gsize) (*offset)) < _tmp2_, NULL);
|
||||
+ g_return_val_if_fail (((gsize) (*offset)) < _tmp2_, FALSE);
|
||||
while (TRUE) {
|
||||
gint _tmp3_;
|
||||
gint _tmp4_;
|
Loading…
Add table
Add a link
Reference in a new issue