Jim Paris <jim@jtan.com>


Patch
r856875, r854856

r854856 | blair | 2005-05-19 21:30:49 +0000 (Thu, 19 May 2005)

Fix a Perl variable scoping bug.

Patch by: Jim Paris <jim@jtan.com>

* contrib/client-side/svn_load_dirs.pl.in
  (safe_read_from_pipe):
    The $openfork_available variable in global scope is never properly
    initialized because its declaration comes after the script's
    'exit 0;' line.  Move the declaration into the function.  This bug
    resulted in /bin/sh being used when it doesn't need to be.


r856875 | dlr | 2005-10-18 21:41:06 +0000 (Tue, 18 Oct 2005)

A follow-up to r13107 and r12602, fixing a warning from an undefined
TEMP env var, and an error from invocation of sendmail when the
address in the sender envelop contains spaces (respectively).

Eventually (no later than 2.0), use of the temporary directory can be
removed entirely.


* tools/hook-scripts/commit-email.pl.in
  Assure that $ENV{'TEMP'} is defined before trying to use it.

  Quote email address passed to 'sendmail -f' for the sender envelop
  to avoid forming a bad command-line.


Patch by: Jim Paris <jim@jtan.com>