]> granicus.if.org Git - transmission/commit
Go back to using hash as base name for resume and torrent files
authorMike Gelfand <mikedld@mikedld.com>
Wed, 26 Jul 2017 18:20:30 +0000 (21:20 +0300)
committerMike Gelfand <mikedld@mikedld.com>
Wed, 26 Jul 2017 18:32:26 +0000 (21:32 +0300)
commitbb4741002f832a8f1046196830917462d7063862
tree516057e75dc74ea72178345507658687fcfa8fd2
parent760c98f8a28a0a41459721a3bceb133be233f0f6
Go back to using hash as base name for resume and torrent files

The format introduced in TRAC-394 is nice but brings its own issues (e.g.
TRAC-4189, #122). I'm okay with a bit of grepping myself if it makes the
experience better for end users.

Using hashes results in filenames well under 255 bytes limit on some
filesystems. If even that will not be enough, I'd suggest reporting the
issue elsewhere.

Fixes: #122
libtransmission/metainfo.c
libtransmission/metainfo.h
libtransmission/rename-test.c
libtransmission/resume.c
libtransmission/resume.h
libtransmission/torrent.c