Mercurial > hg > toybox
view scripts/findglobals.sh @ 1243:eae29e8e2bc8 draft
_mkflags_ had an issue for generating FLAG_xxxx macros for long options.
Only the first __long__ option, without any __short__ option had a proper
flag value, rest all were defined to ZERO. Becaus the _flist_ was not moved
to the next in this case.
author | Ashwini Sharma <ak.ashwini1981@gmail.com> |
---|---|
date | Wed, 09 Apr 2014 07:40:02 -0500 |
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