Message125634
> it's a bit asymmetric that gethostname is in the socket
> module and supports Windows, and sethostname is in the POSIX
> module. It would be useful to have a gethostname in the POSIX
> module also which is a) POSIX only and b) supports embedded
> NUL bytes.
According to the spec for gethostname(), the hostname that it returns is null-terminated so it won't support embedded NUL bytes. Should we still add it anyway? |
|
Date |
User |
Action |
Args |
2011-01-07 09:19:19 | rosslagerwall | set | recipients:
+ rosslagerwall, loewis, georg.brandl, gregory.p.smith, belopolsky, pitrou, giampaolo.rodola |
2011-01-07 09:19:19 | rosslagerwall | set | messageid: <1294391959.02.0.642168643566.issue10812@psf.upfronthosting.co.za> |
2011-01-07 09:19:14 | rosslagerwall | link | issue10812 messages |
2011-01-07 09:19:14 | rosslagerwall | create | |
|