]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fixed kernel format checking:
authorDavid E. O'Brien <obrien@FreeBSD.org>
Fri, 27 Aug 1999 10:02:56 +0000 (10:02 +0000)
committerDavid E. O'Brien <obrien@FreeBSD.org>
Fri, 27 Aug 1999 10:02:56 +0000 (10:02 +0000)
commit35edbffe27d0482c7adfc659c81184432aa16cfa
treecf0c3faa9ed0c9f3e221f6707d0e9bf05ad2e323
parent1fc70153e999d9033841dc6dcfd962fbf9d323ba
Fixed kernel format checking:
- plain %r and %z were disallowed.  The hard NULs in the warnings were
  hopefully caused by disallowing of plain formats being nonsense.
- new formats for shortening to a byte were allowed, but even the libc
  printf doesn't support them.
- old %hr and %hz formats were allowed, but the kernel printf doesn't
  support them.  The kernel doesn't support %hd either, but this is
  harder to fix.

Submitted by: bde
contrib/gcc/c-common.c