Messages in this thread |  | | | From | "Johan Kullstam" <> | | Subject | Re: 'core' (patch) | | Date | 12 Feb 2000 13:18:34 -0500 |
| |
willy@thepuffingroup.com writes:
> On Fri, Feb 11, 2000 at 11:22:51AM -0500, Richard B. Johnson wrote: > > - rm -f core `find . -type f -name 'core' -print` > > - rm -f core `find . -type f -name '.*.flags' -print` > > + rm -f Core `find . -type f -name 'core' -print` > > + rm -f Core `find . -type f -name '.*.flags' -print` > > - rm -f core `find . -type f -size 0 -print` > > + rm -f Core `find . -type f -size 0 -print` > > - rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~' \ > > + rm -f Core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~' \ > > these are all wrong. they fail to remove the core file which may or may > not have been dumped. the solution is to fix the other programs in any > case, not change the name of a _directory_ which cannot be a core file, > by definition.
if you happen to run a program from /usr/src/linux/net and it goes belly up, there's trouble. linux can't dump core since there's a directory named core. should we fix linux? ;-)
-- J o h a n K u l l s t a m [kullstam@ne.mediaone.net] Don't Fear the Penguin!
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
|  |