This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: Quicky GAS question
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Daniel Jacobowitz'" <drow at false dot org>
- Cc: <binutils at sourceware dot org>
- Date: Tue, 26 Apr 2005 14:32:49 +0100
- Subject: RE: Quicky GAS question
----Original Message----
>From: Daniel Jacobowitz
>Sent: 26 April 2005 14:28
> On Tue, Apr 26, 2005 at 12:56:51PM +0100, Dave Korn wrote:
>>
>> Is it legitimate to alter the chars in the input buffer?
> You can modify it...
>
> But you want to restore it when you're done with it.
Thanks Dan!
On taking a look at as_bad, I see it's implemented in a completely
straightforward fashion using vsprintf internally, so I think I ought to be
able to get away with using the "%*.*s" trick in any case. That's even
easier from my point of view.
cheers,
DaveK
--
Can't think of a witty .sigline today....