uw7.19990330.patch
application/x-patch
Filename: uw7.19990330.patch
Type: application/x-patch
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: context
| File | + | − |
|---|---|---|
| src/backend/commands/vacuum.c | 5 | 5 |
| src/backend/storage/ipc/shmem.c | 0 | 1 |
*** src/backend/commands/vacuum.c.orig Wed Mar 31 01:57:35 1999
--- src/backend/commands/vacuum.c Wed Mar 31 02:00:05 1999
***************
*** 2421,2436 ****
}
if (last_move == true)
{
! res = compar(elm, bot + last * size);
if (res > 0)
return NULL;
if (res == 0)
! return bot + last * size;
last_move = false;
}
! res = compar(elm, bot + celm * size);
if (res == 0)
! return bot + celm * size;
if (res < 0)
{
if (celm == 0)
--- 2421,2436 ----
}
if (last_move == true)
{
! res = compar(elm, (void *)((char *)bot + last * size));
if (res > 0)
return NULL;
if (res == 0)
! return (void *)((char *)bot + last * size);
last_move = false;
}
! res = compar(elm, (void *)((char *)bot + celm * size));
if (res == 0)
! return (void *)((char *)bot + celm * size);
if (res < 0)
{
if (celm == 0)
***************
*** 2445,2451 ****
return NULL;
last = last - celm - 1;
! bot = bot + (celm + 1) * size;
celm = (last + 1) / 2;
first_move = true;
}
--- 2445,2451 ----
return NULL;
last = last - celm - 1;
! bot = (void *)((char *)bot + (celm + 1) * size);
celm = (last + 1) / 2;
first_move = true;
}
*** src/backend/storage/ipc/shmem.c.orig Wed Mar 31 02:20:06 1999
--- src/backend/storage/ipc/shmem.c Wed Mar 31 02:20:28 1999
***************
*** 737,741 ****
SpinRelease(ShmemIndexLock);
elog(ERROR, "GetXmaxRecent: ShmemIndex corrupted");
- return NULL;
}
--- 737,740 ----