This is a discussion on #ifdef YP collapse in libc/net/ethers.c within the mailing.openbsd.tech forums, part of the OpenBSD category; --> Good morning - Found two #ifdef YP sections that became contiguous in rev 1.17; this diff collapses them into ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Good morning - Found two #ifdef YP sections that became contiguous in rev 1.17; this diff collapses them into a single #ifdef. - Bret --- ethers.c.orig Fri Aug 25 10:29:28 2006 +++ ethers.c Fri Aug 25 10:42:56 2006 @@ -100,9 +100,7 @@ #ifdef YP char trybuf[sizeof("xx:xx:xx:xx:xx:xx")]; int trylen; -#endif -#ifdef YP snprintf(trybuf, sizeof trybuf, "%x:%x:%x:%x:%x:%x", e->ether_addr_octet[0], e->ether_addr_octet[1], e->ether_addr_octet[2], e->ether_addr_octet[3], |
| Thread Tools | |
| Display Modes | |
|
|