New utility: nscd cache dumper

DJ Delorie dj@redhat.com
Tue Mar 17 18:07:27 GMT 2020


Andreas Schwab <schwab@suse.de> writes:
> On Mär 12 2020, DJ Delorie wrote:
>
>> +#define NO_REF ((ref_t)-1)
>
> Style: space after cast.
>
>> +#define A(x) (int)((char *)&(x)-(char *)the_cache)
>
> Style: space after cast.
>
>> +  /* Common code for "print field DPS->F, it's offset, and contents".  */
>> +#define DPS(f) printf("%08x: %24s : %10d %08x\n", A (dps->f), #f, (int)dps->f, (int)dps->f);
>
> Style: space after cast.
>
>> +	  if (debug_level > 0)
>> +	    {
>> +/* Common code for printing fields in struct DATAHEAD DH.  */
>> +#define DH(f) printf ("%08x; %24s : %10d %08x\n", A (dh->f), #f, (int)dh->f, (int)dh->f);
>
> Style: space after cast.


Fixed.



More information about the Libc-alpha mailing list