On 06/09/2010 03:45 PM, Michael Andres wrote:
On Wednesday 09 June 2010 15:30:01 Jano Kupec wrote:
Hi there,
what's this 'prefix' all about? When i do p = Pathname("/wow") / "a:/b"; i get "/wow/b", because a: is considered a 'prefix'. What is it good for?
I guess some leftover trying to support your floppy drive (A:) ;(
Ouch :O) Windows drive notation. If we want to keep it, then we should add a few comments about it to the code.
try Pathname("/wow/a:/b"); or Pathname("/wow") / "/a:/b"; or Pathname("/wow") / "./a:/b";
Good idea, thanx! -- cheers, jano Ján Kupec YaST team ---------------------------------------------------------(PGP)--- Key ID: 637EE901 Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901 ---------------------------------------------------------(IRC)--- Server: irc.freenode.net Nick: jniq Channels: #zypp #yast #suse #susecz ---------------------------------------------------------(EOF)---