diffofdiffs

Patch mode: comparisons use only the source lines quoted in the patches.

Backport patch: backport.patch
Upstream patch: upstream.patch
Viewing options

Within aligned pairs: left text / right text that differs, independently of patch signs. Whitespace uses the same colors: separate space blocks distinguish spaces from tabs; tabs fill their tab stops. Hover for details.

Delta differences

Code changes that differ between the patches. Old / new are each patch’s parent / result line numbers. Signs belong to that patch. Shared edits are additions or removals both patches make.

record.crecord.c

oldnew
oldnew
static void update_record(struct record *record, int value)
static void update_record(struct record *record, int value)
11static void update_record(struct record *record, int value)
11static void update_record(struct record *record, int value)
22{
22{
33 if (!record->active)
44 return;
+3 write_seqcount_begin(&record->seq);
+5 write_seqcount_begin(&record->state.seq);
34 record->value = value;
56 record->value = value;
+5 record->generation++;
+7 record->generation++;
+6 write_seqcount_end(&record->seq);
+8 write_seqcount_end(&record->state.seq);
47}
69}

Context differences

Surrounding code in the results. Signs mark lines present in only one result: − left, + right.

record.crecord.c

new
new
static void update_record(struct record *record, int value)
static void update_record(struct record *record, int value)
1static void update_record(struct record *record, int value)
1static void update_record(struct record *record, int value)
2{
2{
+3 if (!record->active)
+4 return;
-3 write_seqcount_begin(&record->seq);
+5 write_seqcount_begin(&record->state.seq);
4 record->value = value;
6 record->value = value;
5 record->generation++;
7 record->generation++;
-6 write_seqcount_end(&record->seq);
+8 write_seqcount_end(&record->state.seq);