Доброго времени суток, All!
... пришлось на C написать:
* Обнаружено в FTSC
* От: Alexey Vissarionov (2:5020/545), 22 Aug 2019 07:50:00
* Для: Andrew Leary
* Про: Max subject length: 71 or 72 chars?
Good ${greeting_time}, Andrew!
19 Aug 2019 02:30:10, you wrote to All:
[...]
AL> It seems wasteful to have critical bytes in a packet header that are
AL> *always* zero, so if we could agree that byte 71 (couting from 0) of
AL> a subject and byte 35 (again, counting from 0) of to/from names are
AL> *usable*, that would make these message/packet formats a little more
AL> sane.
#define SUBJ_SIZE 72
uint8_t subject[SUBJ_SIZE];
extern void* somewhere;
memset(subject, 0x00, SUBJ_SIZE);
strlcpy(subject, somewhere, SUBJ_SIZE);
[...]
... god@universe:~ # cvs up && make world
___ /bin/vi
+ Origin:
http://openwall.com/Owl (2:5020/545)
Вроде осознали...
--
Alexey V. Vissarionov aka Gremlin from Kremlin
gremlin ПРИ gremlin ТЧК ru; +vii-cmiii-ccxxix-lxxix-xlii
... Пока теоретики рисуют карты, практики меняют ландшафты