| plan 9 kernel history: overview | file list | diff list |
1992/0101/port/chan.c (diff list | history)
| 1991/1206/sys/src/9/port/chan.c:634,640 – 1992/0101/sys/src/9/port/chan.c:634,640 (short | long | prev | next) | ||
| 1990/0227 | return name; } | |
| 1992/0101 | char isfrog[256]={ | |
| 1990/0227 | /*NUL*/ 1, 1, 1, 1, 1, 1, 1, 1, /*BKS*/ 1, 1, 1, 1, 1, 1, 1, 1, /*DLE*/ 1, 1, 1, 1, 1, 1, 1, 1, | |
| 1991/1206/sys/src/9/port/chan.c:642,647 – 1992/0101/sys/src/9/port/chan.c:642,651 | ||
| 1990/0227 | [' '] 1, ['/'] 1, [0x7f] 1, | |
| 1992/0101 | /*0x80+ NUL*/ 1, 1, 1, 1, 1, 1, 1, 1, /*BKS*/ 1, 1, 1, 1, 1, 1, 1, 1, /*DLE*/ 1, 1, 1, 1, 1, 1, 1, 1, /*CAN*/ 1, 1, 1, 1, 1, 1, 1, 1, | |
| 1990/0227 | }; | |
| 1991/0727 | void | |
| 1991/1206/sys/src/9/port/chan.c:651,657 – 1992/0101/sys/src/9/port/chan.c:655,661 | ||
| 1991/1107 | eelem = elem+NAMELEN; | |
| 1991/0727 | while(*elem) { | |
| 1992/0101 | if(isfrog[*(uchar*)elem]) | |
| 1991/0727 | error(Ebadchar); elem++; | |
| 1991/1107 | if(elem >= eelem) | |
| 1991/1206/sys/src/9/port/chan.c:681,688 – 1992/0101/sys/src/9/port/chan.c:685,692 | ||
| 1990/0227 | end = e; } while(name < end){ | |
| 1992/0101 | c = *(uchar*)name++; if(isfrog[c]) | |
| 1990/11211 | error(Ebadchar); | |
| 1990/0227 | *elem++ = c; } | |