[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Enhance platform support of hook script check-mime-type.pl (Windows)

From: Matthias Buecher / Germany <mail_at_maddes.net>
Date: Wed, 23 Apr 2014 19:42:34 +0200

If there are no vetos against my patch [5], I would ask you to commit it
please.

[5]
http://mail-archives.apache.org/mod_mbox/subversion-dev/201403.mbox/%3C5339CC30.4080009%40maddes.net%3E

Kind regards
Matthias Bücher

On 31.03.2014 22:12, Matthias Buecher / Germany wrote:
> [[[
> Enhance platform support of hook script check-mime-type.pl
> Adopted from contrib/client-side/svn_load_dirs/svn_load_dirs.pl.in
> (r1295006) [1]
>
> * contrib/hook-scripts/check-mime-type.pl:
> (tmp_dir) Cross Platform: sane temp dir creation via File::Temp
> function tempdir()
> (sub safe_read_from_pipe) Windows/DOS: does not support openfork and
> files/paths with spaces have to be put in quotes
>
> Patch by: Matthias Bücher <mail_at_maddes.net>
>
> Tested with Subversion 1.6 to 1.8
> for 1.8.5+ you also need Leo Davis' patch [4] (although I personally
> kept chdir to temp dir)
>
> [1]
> http://svn.apache.org/viewvc/subversion/trunk/contrib/client-side/svn_load_dirs/svn_load_dirs.pl.in
> [2] http://perldoc.perl.org/perlport.html#Interprocess-Communication-(IPC)
> [3] http://perldoc.perl.org/perlport.html#PLATFORMS
> [4]
> http://mail-archives.apache.org/mod_mbox/subversion-dev/201403.mbox/%3C1576503.m6XB7udPXQ@hurry.speechfxinc.com%3E
>
> ]]]
Received on 2014-04-23 19:43:11 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.