Mercurial > hg > toybox
view scripts/findglobals.sh @ 1664:692be264d4f0 draft
fix non-glibc basename(3) usage
I considered a #else on the big #ifdef __GLIBC__ above, but that
seemed harder to follow.
author | Elliott Hughes <enh@google.com> |
---|---|
date | Sun, 18 Jan 2015 13:36:31 -0600 |
parents | a3268a1c055e |
children |
line wrap: on
line source
#!/bin/bash # Quick and dirty check to see if anybody's leaked global variables. # We should have this, toy_list, toybuf, and toys. nm toybox_unstripped | grep '[0-9A-Fa-f]* [BCDGRS]' | cut -d ' ' -f 3