Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/coda

On Nov 23, 11:24pm, (Mindaugas Rasiukevicius) wrote:
-- Subject: Re: CVS commit: src/sys/coda

| mp = mp == TAILQ_END(&mountlist) ? NULL : mp;
| Over:
| return mp;
| Everybody understood NULL, so why obfuscate the code?

The point (as I understand it) is so that if you want to change to another
ADT where end != NULL (are there any now, that we have banned CIRCLEQ?)
using the END macro lets you s/FOOQ/BARQ/ and have it mostly work.


Home | Main Index | Thread Index | Old Index