diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-04-23 03:17:26 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-04-23 03:17:26 -0500 |
commit | 452f87ace48b6cc710e2b50a749c818825455493 (patch) | |
tree | d19cc8f6ba966d0a0f88f00b1ed5091a4263c77e /hostname/hostname.1 | |
parent | 2a708d9795c2474be8af2b4920c3806fc7b8f5cf (diff) | |
download | shimmy-452f87ace48b6cc710e2b50a749c818825455493.tar.gz shimmy-452f87ace48b6cc710e2b50a749c818825455493.tar.bz2 shimmy-452f87ace48b6cc710e2b50a749c818825455493.tar.xz shimmy-452f87ace48b6cc710e2b50a749c818825455493.zip |
hostname: Fix file reading for setting node name
This isn't exactly compatible with net-tools, but it is close.
net-tools will buffer a line longer than 1024 characters (up to the next
63 characters). This implementation will break at the 1024th character
and start a new block of 63 char names there.
I sincerely hope nobody is actually using this weird, undefined
behaviour for anything serious.
Diffstat (limited to 'hostname/hostname.1')
0 files changed, 0 insertions, 0 deletions