also sprach Paul Slootman <p...@debian.org> [2009.07.16.1617 +0200]: > * get_tmpname() - create a tmp filename for a given filename > * > * If a tmpdir is defined, use that as the directory to > * put it in. Otherwise, the tmp filename is in the same > * directory as the given name. Note that there may be no > * directory at all in the given name! > * > * The tmp filename is basically the given filename with a > * dot prepended, and .XXXXXX appended (for mkstemp() to > * put its unique gunk in). Take care to not exceed > * either the MAXPATHLEN or NAME_MAX, esp. the last, as > * the basename basically becomes 8 chars longer. In that > * case, the original name is shortened sufficiently to > * make it all fit. > > I don't see the problem. > This was an issue that was fixed a long time (years) ago.
This is good to know, but I have definitely seen rsync report ENAMETOOLONG errors related to mkstemp(). I will keep an eye open. -- .''`. martin f. krafft <madd...@d.o> Related projects: : :' : proud Debian developer http://debiansystem.info `. `'` http://people.debian.org/~madduck http://vcs-pkg.org `- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)