[1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

Eric Blake ebb9@byu.net
Sat May 16 12:56:00 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Marc Girod on 5/16/2009 4:17 AM:
> 
> Marc Girod wrote:
>> uname -r
>> this gives on 2 installations e.g.:
>> 
>> 1.5.25(0.156/4/2)
>> 1.7.0(0.210/5/3)
>> 
>> $ ./uname -s
>> CYGWIN_NT-6.0
> 

uname -s is wrong (you will get the same answer for two different cygwin
installations on the same underlying Windows, but different answers across
different Windows versions).  But uname -r is reliable.

>>
> Er... maybe you would object that this is part of coreutils,
> and thus not necessarily of every cygwin installation...

Coreutils is part of every cygwin installation, as is every other package
in the Base category (for example, findutils, tar, bash...).  In other
words, there are some programs so essential to a unix-y environment that
you can count on them being present.

But that said, all coreutils' uname(1) does is call uname(2).  So emacs
can reliably use uname(2) (provided by cygwin1.dll) rather than wasting a
fork to call uname(1).

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoOuBAACgkQ84KuGfSFAYCwJQCgk7m39ef9Jp5NiVWgX/4/tfN3
pI8Anjq1G3mIwif/JCu68Iu3BrI2eVWW
=CgBH
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list