[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reconciliation of libsnprintfv vs. autogen
From: |
Paul Eggert |
Subject: |
Re: Reconciliation of libsnprintfv vs. autogen |
Date: |
Sun, 25 Feb 2007 23:42:28 -0800 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
address@hidden (Larry Jones) writes:
> Yes, it is. Unfortunately, it's also wrong. If you have a pointer to
> char but need to treat the data it points to as unsigned char, you have
> to cast the pointer and dereference it to get the correct value on ones
> complement systems -- dereferencing and then casting doesn't work
> because -0 gets converted to +0.
OK, but gnulib assumes two's complement hosts. This is documented in
its README. So we needn't worry about casting the pointer before
dereferencing it here.
- Re: snprintfv for gnulib?, (continued)
- Re: snprintfv for gnulib?, Bruno Haible, 2007/02/23
- Reconciliation of libsnprintfv vs. autogen, Bruce Korb, 2007/02/25
- Re: Reconciliation of libsnprintfv vs. autogen, Bruno Haible, 2007/02/25
- Re: Reconciliation of libsnprintfv vs. autogen, Bruce Korb, 2007/02/25
- Re: Reconciliation of libsnprintfv vs. autogen, Larry Jones, 2007/02/25
- Re: Reconciliation of libsnprintfv vs. autogen, Bruce Korb, 2007/02/25
- Re: Reconciliation of libsnprintfv vs. autogen, Larry Jones, 2007/02/26
- Re: Reconciliation of libsnprintfv vs. autogen,
Paul Eggert <=
- Re: Reconciliation of libsnprintfv vs. autogen, Daniel Jacobowitz, 2007/02/25
- Re: Reconciliation of libsnprintfv vs. autogen, Ralf Wildenhues, 2007/02/25
- Re: Reconciliation of libsnprintfv vs. autogen, Daniel Jacobowitz, 2007/02/26
- Re: Reconciliation of libsnprintfv vs. autogen, Bruce Korb, 2007/02/26
- Re: Reconciliation of libsnprintfv vs. autogen, Daniel Jacobowitz, 2007/02/26
- Re: Reconciliation of libsnprintfv vs. autogen, Paolo Bonzini, 2007/02/26
- Re: Reconciliation of libsnprintfv vs. autogen, Daniel Jacobowitz, 2007/02/26
- Re: snprintfv for gnulib?, Daniel Jacobowitz, 2007/02/23
- Re: snprintfv for gnulib?, Daniel Jacobowitz, 2007/02/23
- Re: snprintfv for gnulib?, Bruce Korb, 2007/02/23