CBFalconer said:
No, he deliberately snipped the portion that shows his imbecility,
below:
^^^^^
Which pointed out that the code would require modification.
You have recently claimed that code which uses implementation *defined*
behaviour "does not work". Are you now retracting that claim, since
obviously it works on the on the implementations where it worked by
definition of those implemenations, just like you nmalloc package works
on implementations which provide sbrck and where you method of dealing
with alignment works?
Either you flat statement that code which uses implementation defined
behaviour does not work is false, or your nmalloc package does not work.
Oh, and your nmalign function assumes that a pointer can be converted to
a long with no loss of information, something the standard does not
guarantee. In fact, the standard does not guarantee there is ANY integer
type which would work. It then assumes things about the converted value
which are not guaranteed to be true.
It has at least one identifier (_sysquery) at file scope which starts
with an underscore, which is reserved for the implementation and so not
available for user code.
Now, have you posted all these other limitations every time you have
said it will work on any implementation which provides sbrck? I don't
remember you pointing them out, so your code does not work by your own
arguments.