Mercurial > hg > toybox
view scripts/findglobals.sh @ 1271:c214de62b18b draft
Teach cpio to set uid/gid and timestamp. (Timestamp has year 2100 problem.)
Note that directory timestamps are still sometimes wrong because creating
things in a directory can update the timestamp. Also, cp -r has logic to
ensure we can write to a directory that doesn't have write permission,
cpio does not. This is fixable, but not what existing cpio does.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 29 Apr 2014 06:03:17 -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