diff options
author | Larry Wall <larry@wall.org> | 1988-06-28 03:41:16 +0000 |
---|---|---|
committer | Larry Wall <larry@wall.org> | 1988-06-28 03:41:16 +0000 |
commit | 13281fa4f8547e0eb31d1986b865d9b7ec7d0dcc (patch) | |
tree | f506dd49e16d31e3f5d297122f9a478550d9f6d2 /regcomp.h | |
parent | 378cc40b38293ffc7298c6a7ed3cd740ad79be52 (diff) | |
download | perl-13281fa4f8547e0eb31d1986b865d9b7ec7d0dcc.tar.gz |
perl 2.0 patch 1: removed redundant debugging code in regexp.c
If you used ++ on a variable that had the value '' (as opposed to
being undefined) it would increment the numeric part but not
invalidate the string part, which could then give false results.
Berkeley recently sent out a patch that disables setuid #! scripts
because of an inherent problem in the semantics as they are
currently defined. If you have installed that patch, your setuid
and setgid bits are useless on scripts. I've added a means
for perl to examine those bits and emulate setuid/setgid scripts
itself in what I believe is a secure manner. If normal perl
detects such a script, it passes it off to another version of
perl that runs setuid root, and can run the script under the
desired uid/gid. This feature is optional, and Configure will
ask if you want to do it.
Some machines didn't like config.h when it said #/*undef SYMBOL.
Config.h.SH now is smart enough to tuck the # inside the comment.
There were several small problems in Configure: the return code from
ar was hidden by a piped call to sed, so if ar failed it went
undetected. The Cray uses a program called bld instead of ar.
Let's hear it for compatibilty. At least one version of gnucpp
adds a space after symbol interpolation, which was giving the
C preprocessor detector fits. There was a call to grep '-i' that
needed to have the -i protected by a backslash. Also, Configure
should remove the UU subdirectory that it makes while running.
"make realclean" now knows about the alternate patch extension ~.
In the manual page, I fixed some quotes that were ugly in troff,
and did some clarification of LIST, study, tr and unlink.
regexp.c had some redundant debugging code.
tr/x/y/ could dump core if y is shorter than x. I found this out
when I tried translating a bunch of characters to space by saying
something like y/a-z/ /.
Diffstat (limited to 'regcomp.h')
0 files changed, 0 insertions, 0 deletions