- Notifications
You must be signed in to change notification settings - Fork5
Commitacac35a
committed
Improve hint message for ENOMEM failure from shmget().
It turns out that some platforms return ENOMEM for a request that violatesSHMALL, whereas we were assuming that ENOSPC would always be used for that.Apparently the latter is a Linuxism while ENOMEM is the BSD tradition.Extend the ENOMEM hint to suggest that raising SHMALL might be needed.Per gripe from A.M.Backpatch to 9.0, but not further, because this doesn't seem importantenough to warrant creating extra translation work in the stable branches.(If it were, we'd have figured this out years ago.)1 parent0d812f1 commitacac35a
1 file changed
+11
-3
lines changedLines changed: 11 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
135 | 135 |
| |
136 | 136 |
| |
137 | 137 |
| |
138 |
| - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
139 | 145 |
| |
140 | 146 |
| |
141 | 147 |
| |
| |||
157 | 163 |
| |
158 | 164 |
| |
159 | 165 |
| |
160 |
| - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
161 | 169 |
| |
162 | 170 |
| |
163 | 171 |
| |
|
0 commit comments
Comments
(0)