Output of "uname -s" and "uname -o"

Igor Peshansky pechtcha@cs.nyu.edu
Mon Jun 9 14:32:00 GMT 2008

On Mon, 9 Jun 2008, Christopher Faylor wrote:

> On Mon, Jun 09, 2008 at 09:54:32AM -0400, Igor Peshansky wrote:
> >I just looked at the Linux utsname.h, and it defines the length of all
> >the fields to be 65 characters.  Is there a compelling reason for
> >Cygwin to be limited to 20?
> Maybe we need a cygwin-developers FAQ.
> Can't you conceive of a reason why a publicly available structure can't
> easily change the size of its members?

Right, but that's not what I asked...  The first step is to find out
whether that 20 is an arbitrary constant or not.  If it is, then ways
could certainly be found to accommodate both the old binaries and the
newly compiled code.

As for compatibility with older applications, one could imagine adding a
$CYGWIN flag (e.g., uname_compat) that would produce old-style output.
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it." -- Rabbi Hillel

More information about the Cygwin-developers mailing list