History

20080703-1447

Charles.Forsyth committed 18 years ago

Commit 389fb491 parent 376e1193 files · +7 −18Browse files

Unified · Split

3 files
  1. CHANGES +2 −0
  2. emu/Nt/vlrt.c +4 −17
  3. include/version.h +1 −1
CHANGES+2−0
@@ -1,3 +1,5 @@
1+20080703
2+ remove anonymous unions (and unused structs) from unpacking structures in emu/Nt/vlrt.c, not that it's used
13 20080617
24 win-x11a.c add sqweek's change to pass on KeyRelease values (but perhaps 1-byte values are no longer enough?)
35 20080614
emu/Nt/vlrt.c+4−17
@@ -13,21 +13,8 @@ · 12 unmodified lines
1313 typedef struct Vlong Vlong;
1414 struct Vlong
1515 {
16− union
17− {
18− struct
19− {
20− ulong lo;
21− ulong hi;
22− };
23− struct
24− {
25− ushort lols;
26− ushort loms;
27− ushort hils;
28− ushort hims;
29− };
30− };
16+ ulong lo;
17+ ulong hi;
3118 };
3219
3320 void abort(void);
@@ -102,11 +89,11 @@ _mulv(Vlong *r, Vlong a, Vlong b) · 68 unmodified lines
10289 void
10390 _d2v(Vlong *y, double d)
10491 {
105− union { double d; struct Vlong; } x;
92+ Vlong x;
10693 ulong xhi, xlo, ylo, yhi;
10794 int sh;
10895
109− x.d = d;
96+ *(double*)&x = d;
11097
11198 xhi = (x.hi & 0xfffff) | 0x100000;
11299 xlo = x.lo;
include/version.h+1−1
@@ -1 +1 @@
1−#define VERSION "Fourth Edition (20080629)"
1+#define VERSION "Fourth Edition (20080703)"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t