diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-08-11 02:54:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-08-11 02:54:09 +0000 |
commit | 6ff50ad91a70edd49ea24750c3f4ac5575b282ee (patch) | |
tree | d50493a768228adf6b071ac9009ec54fd7476d35 /usr.bin/gprof | |
parent | 6036d102149ac80cd4656ef6a610d81a69eea569 (diff) |
permit $ in symbol names since destructors now can use that char again...; jdp@freebsd
Diffstat (limited to 'usr.bin/gprof')
-rw-r--r-- | usr.bin/gprof/gprof.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/gprof/gprof.c b/usr.bin/gprof/gprof.c index 9db9fe58329..8d55d58914f 100644 --- a/usr.bin/gprof/gprof.c +++ b/usr.bin/gprof/gprof.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gprof.c,v 1.3 1996/10/02 02:59:49 tholo Exp $ */ +/* $OpenBSD: gprof.c,v 1.4 1998/08/11 02:54:08 deraadt Exp $ */ /* $NetBSD: gprof.c,v 1.8 1995/04/19 07:15:59 cgd Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)gprof.c 8.1 (Berkeley) 6/6/93"; #else -static char rcsid[] = "$OpenBSD: gprof.c,v 1.3 1996/10/02 02:59:49 tholo Exp $"; +static char rcsid[] = "$OpenBSD: gprof.c,v 1.4 1998/08/11 02:54:08 deraadt Exp $"; #endif #endif /* not lint */ @@ -725,8 +725,7 @@ funcsymbol( nlistp ) } /* * can't have any `funny' characters in name, - * where `funny' includes `.', .o file names - * and `$', pascal labels. + * where `funny' means `.', .o file names * need to make an exception for sparc .mul & co. * perhaps we should just drop this code entirely... */ @@ -744,7 +743,7 @@ funcsymbol( nlistp ) } #endif while ( c = *name++ ) { - if ( c == '.' || c == '$' ) { + if ( c == '.' ) { return FALSE; } } |