bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: memset (0, 0, 0);


From: Andrew Cagney
Subject: Re: memset (0, 0, 0);
Date: Fri, 04 Apr 2003 10:16:35 -0500
User-agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223

This conflicts with gdb usage of memset (0, 0, 0); in some places.
There are three practical questions here:
- should gdb use this idiom?
- should all target-specific variants of newlib's memset implement it?
- should all target-specific variants of glibc's memset implement it?

I'm not sure why you're refering to GDB here. GDB assumes ISO C and hence should never use memset in ways that violate the ISO C spec. If it is, then someone gets to fix it.

Andrew






reply via email to

[Prev in Thread] Current Thread [Next in Thread]