This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: happily messing up with raw devices (aka: lseek problems)


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

Dave Korn wrote:
>   Each of those warnings represents incorrect code on your part.  Your
> coding techniques would have barely scraped by back in 1979.  Since 1989,
> they've just been completely invalid.  Stop taking these crude shortcuts -

I'm a bit lost in the path to translate "I just forgot to add
non-default option" into "you took a crude shortcut".

If you really do want to blame (if blame must be, which I don't believe
at all) blame gcc that doesn't -Wall by default, not me for
"intentionally avoiding it" (that I didn't).

>   That's because all the arguments to read are 32-bits in size,

Oh, I guess it's too bad if I do use a 32-bit variable to contain the
17-bit constant 0x59BD, it most probably won't fit.

This, of course, is way off topic (and not a bit interesting).
See ya.

- --
L a p o   L u c h i n i
l a p o @ l a p o . i t
w w w . l a p o . i t /
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkMfQRsACgkQaJiCLMjyUvtCpQCgrpUJTzmONyXI9s8XoJEPLsYB
zxkAnjUNJVRa28LoAatFfPhO2hG2ZSrT
=ZAcc
-----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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]