Re: [LAD] samples/symlinks/sessions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: James Morris <james@...>
Cc: LAD <linux-audio-dev@...>
Date: Monday, July 16, 2012 - 2:55 am

--=-k3zxgkekCdPdWv/oKQ33
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, 2012-07-13 at 15:57 +0100, James Morris wrote:

I just used the original name of the file, with a number added for
uniqueness if necessary (which is very seldom the case). It works and
is much more human-friendly and straightforward than the above options.
A "make this path unique by sticking a number on the end of it" function
turns out to be pretty useful anyway.

Of course, you need to actually check for existence of files to create
it, which might be a problem in some cases (though not any I've
encountered), but anything that assumes a mapping based on the current
path is a unique identifier for a particular file's contents is bound to
fail anyway.

-dr

--=-k3zxgkekCdPdWv/oKQ33
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAABCAAGBQJQA4KTAAoJEDZyeCqb82jzgeIP/iD8dBBa+qIOcxMbGBI5cnO9
JFUwP2iyBe/5bvxQf8u5yyXWLX9Gy5b1UVudg4q8Tu2UhF81asfJzndLwReQr8Jx
xypSf8Qo9dGUvId0S2u7L9QFl68NW/e0ap6yIH3Jo5EC1ZvCbKgAuwIFTa8k/1mc
BXr9xtJAuGJbqTVNpx2ySjjhNL1UjAL1K0sWsrVrbYiDM/sKOkzMP59GgDVO+kiR
mXnc0XWQ8XPqFPj+eHpKW1noOcNLCzsI9tPHToZVkWVFYI+fPZgFuiqGWoxhcwOU
9q5h7k4zZPcFzJCfKvMP+ww9n6tq1TetHXCN6U88nmPeQYBL7F+ViKDtEvz9vL6I
HSNgnD4kZVViifTKOSdIdk3+eS9FxlI7BCnBowNRTcN5eXA/QRpxSbOOPkEnQ3ey
nOl+4xlS6284UKh22RKGtl61/vgLOQ5CNoz6DwCR2tNLhUDql9MJ6etEmrqDv+m5
qrWfr2jGVqTLl4i+2OvJQKBrEVeqzKnKw5G1un6ya2zlaPKin3/h7vyJnA2spNo1
lQJoKIZJjepXkaK484nix0SKtslOnEam1rsw5KN+sHu863Ffm+eYDHsPTBjQSwKg
P/eW7X7V6gwTTc5rfZNDtK/x3iAmJtuaPkpX6Yhv/bn9AD9JTzBTvkV7ZtSojby5
r8u8NzWphBnOZTqRnBli
=bSST
-----END PGP SIGNATURE-----

--=-k3zxgkekCdPdWv/oKQ33--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] samples/symlinks/sessions, James Morris, (Fri Jul 13, 2:59 pm)
Re: [LAD] samples/symlinks/sessions, David Robillard, (Mon Jul 16, 2:55 am)
Re: [LAD] samples/symlinks/sessions, James Morris, (Mon Jul 16, 8:47 am)
Re: [LAD] samples/symlinks/sessions, David Robillard, (Mon Jul 16, 6:00 pm)
Re: [LAD] samples/symlinks/sessions, James Morris, (Fri Jul 20, 2:31 pm)
Re: [LAD] samples/symlinks/sessions, J. Liles, (Sat Jul 21, 10:17 pm)
Re: [LAD] samples/symlinks/sessions, James Morris, (Sat Jul 21, 10:53 pm)
Re: [LAD] samples/symlinks/sessions, Paul Davis, (Sun Jul 22, 1:54 am)
Re: [LAD] samples/symlinks/sessions, J. Liles, (Sat Jul 21, 11:34 pm)
Re: [LAD] samples/symlinks/sessions, James Morris, (Sun Jul 22, 12:14 am)
Re: [LAD] samples/symlinks/sessions, J. Liles, (Mon Jul 16, 8:10 am)
Re: [LAD] samples/symlinks/sessions, James Morris, (Fri Jul 13, 3:13 pm)
Re: [LAD] samples/symlinks/sessions, renato, (Fri Jul 13, 4:29 pm)
Re: [LAD] samples/symlinks/sessions, James Morris, (Fri Jul 13, 5:24 pm)