nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] are there systems where type char is more than one byte?


From: Benno Schulenberg
Subject: [Nano-devel] are there systems where type char is more than one byte?
Date: Mon, 27 Jun 2016 20:01:17 +0200

If there are systems where the type char is more than a single byte,
then running 'nano --tabstospaces' on such a system will do something
strange when typing Tabs: instead of inserting spaces it will insert
characters with the code 0x2020 -- whatever that may be.

If no such systems exist, then the definition of charset

  #define charset(dest, src, n)  memset(dest, src, (n) * sizeof(char))

is superfluous because identical with memset.

Benno

-- 
http://www.fastmail.com - Send your email first class




reply via email to

[Prev in Thread] Current Thread [Next in Thread]