June 20, 2010 General » Combsort comparison | |||
|---|---|---|---|
| |||
...int len) {
if (len < 2)
return 1;
int i;
for (i = 0; i < (len-1... | |||
June 18, 2010 DMD » [dmd-internals] Assertion failed: (len <= 6), function OmToHeader, file libmach.c, line 168., m | |||
|---|---|---|---|
| |||
Whatever you do, don't set them to zero. Some idiot might actually trust them... | |||
June 18, 2010 DMD » [dmd-internals] Assertion failed: (len <= 6), function OmToHeader, file libmach.c, line 168., m | |||
|---|---|---|---|
| |||
On Jun 18, 2010, at 6:52 AM, Leandro Lucarella wrote: It's been a... | |||
June 18, 2010 DMD » [dmd-internals] Assertion failed: (len <= 6), function OmToHeader, file libmach.c, line 168., m | |||
|---|---|---|---|
| |||
Or artificially set limits on them! Weird... -- Leandro Lucarella (AKA luca) http://llucax.com.ar... | |||
June 17, 2010 DMD » [dmd-internals] Assertion failed: (len <= 6), function OmToHeader, file libmach.c, line 168., m | |||
|---|---|---|---|
| |||
Why does dmd ever even need to look at UIDs/GIDs? | |||
June 17, 2010 DMD » [dmd-internals] Assertion failed: (len <= 6), function OmToHeader, file libmach.c, line 168., m | |||
|---|---|---|---|
| |||
OK, it's set here:
/************* Write the library ******************/
libbuf->write("!<arch>\n", 8);
ObjModule om... | |||
June 17, 2010 DMD » [dmd-internals] Assertion failed: (len <= 6), function OmToHeader, file libmach.c, line 168., m | |||
|---|---|---|---|
| |||
Oh that's right, it was Andrei that hit this before! I remember wondering why... | |||
June 17, 2010 DMD » [dmd-internals] Assertion failed: (len <= 6), function OmToHeader, file libmach.c, line 168., m | |||
|---|---|---|---|
| |||
There are 4 places in libmach.c where user_id is set. Next, I'd... | |||
June 17, 2010 DMD » [dmd-internals] Assertion failed: (len <= 6), function OmToHeader, file libmach.c, line 168., m | |||
|---|---|---|---|
| |||
Did so, got: 611078205 Andrei | |||
June 17, 2010 DMD » [dmd-internals] Assertion failed: (len <= 6), function OmToHeader, file libmach.c, line 168., m | |||
|---|---|---|---|
| |||
...asserting code:
len = sprintf(h->user_id, "%u", om->user_id);
assert(len <= 6);
I... | |||
Copyright © 1999-2021 by the D Language Foundation