Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf21a0de

Browse files
author
Artur Zakirov
committed
Fix shared_ispell for Windows
1 parent5bb5ea4 commitf21a0de

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎contrib/shared_ispell/src/shared_ispell.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,13 @@ ispell_shmem_startup()
179179
segment=ShmemInitStruct(SEGMENT_NAME,
180180
max_ispell_mem_size(),
181181
&found);
182+
segment_info= (SegmentInfo*)segment;
182183

183184
/* Was the shared memory segment already initialized? */
184185
if (!found)
185186
{
186187
memset(segment,0,max_ispell_mem_size());
187188

188-
segment_info= (SegmentInfo*)segment;
189-
190189
#ifPG_VERSION_NUM >=90600
191190
segment_info->lock=&(GetNamedLWLockTranche("shared_ispell"))->lock;
192191
#else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp