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

Commit17364ed

Browse files
committed
slock_t must be int not char for MIPS. 7.4 got this right, but the
info was apparently mistranscribed in s_lock code rearrangement.
1 parent26b7c04 commit17364ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/storage/s_lock.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
6767
* Portions Copyright (c) 1994, Regents of the University of California
6868
*
69-
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.127 2004/08/29 04:13:10 momjian Exp $
69+
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.128 2004/08/30 22:49:07 tgl Exp $
7070
*
7171
*-------------------------------------------------------------------------
7272
*/
@@ -428,7 +428,7 @@ typedef unsigned char slock_t;
428428
#if defined(__mips__)&& !defined(__sgi)
429429
#defineHAS_TEST_AND_SET
430430

431-
typedefunsignedcharslock_t;
431+
typedefunsignedintslock_t;
432432
#endif
433433

434434

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp