Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 2014 02:03:41 +0100
From:      Jan Beich <jbeich@vfemail.net>
To:        John Marino <freebsd.contact@marino.st>
Cc:        svn-ports-head@freebsd.org, Tijl Coosemans <tijl@FreeBSD.org>, marino@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r373458 - in head/www: linux-c6-flashplugin11 linux-f10-flashplugin11
Message-ID:  <7fyg-2l1u-wny@vfemail.net>
References:  <201411261948.sAQJmO9U029389@svn.freebsd.org> <20141126211459.241dfadb@kalimero.tijl.coosemans.org> <547635FD.5080407@marino.st>

next in thread | previous in thread | raw e-mail | index | archive | help
John Marino <freebsd.contact@marino.st> writes:

>> On Wed, 26 Nov 2014 19:48:24 +0000 (UTC) John Marino <marino@FreeBSD.org> wrote:
>
>>> +%%NO_ALSA%%%%LINUXBASE%%/usr/lib/libflashsupport.so
>>> +%%NO_ALSA%%@dir %%LINUXBASE%%/usr/lib
>>> +%%NO_ALSA%%@dir %%LINUXBASE%%/usr
>>> +%%NO_ALSA%%@dir %%LINUXBASE%%
>>> +%%NO_ALSA%%@dir %%COMPATDIR%%
>> 
>> Traditionally /compat is a symlink to /usr/compat, so I'm not sure it's
>> safe to delete it like this.

unlink(2), unlinkat(2) and rmdir(2) don't follow symlinks and have safety
belts to prevent accidental removal if invoked with wrong arguments.
pkg(8) conforms to these traditions in @dir or @dirrmtry. As @dirrmtry
was previously implemented via rmdir(1) it'd fail like following:

  $ ln -s /usr/compat /compat
  $ rmdir /compat
  rmdir: /compat: Not a directory

Thanks for making me regret squashing unrelated bugfix.

-------------------------------------------------

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7fyg-2l1u-wny>