delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/07/15:36:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <431F411B.3050509@lapo.it>
Date: Wed, 07 Sep 2005 21:35:55 +0200
From: Lapo Luchini <lapo AT lapo DOT it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.7.2.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: happily messing up with raw devices (aka: lseek problems)
References: <431F321C DOT 108 AT lapo DOT it> <SERRANODscdJH7eHVei000001ee AT SERRANO DOT CAM DOT ARTIMI DOT COM>
In-Reply-To: <SERRANODscdJH7eHVei000001ee@SERRANO.CAM.ARTIMI.COM>

-----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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019