Changeset 11470


Ignore:
Timestamp:
Dec 5, 2010, 6:40:13 PM (11 years ago)
Author:
charles
Message:

(2.0x libtransmission) backport r11243 for #3571 "Torrent done script clears important env vars."

Location:
branches/2.0x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0x/configure.ac

    r11140 r11470  
    105105AC_HEADER_TIME
    106106
    107 AC_CHECK_FUNCS([iconv_open pread pwrite lrintf strlcpy daemon dirname basename strcasecmp localtime_r fallocate64 posix_fallocate memmem strtold syslog valloc getpagesize posix_memalign clearenv])
     107AC_CHECK_FUNCS([iconv_open pread pwrite lrintf strlcpy daemon dirname basename strcasecmp localtime_r fallocate64 posix_fallocate memmem strtold syslog valloc getpagesize posix_memalign])
    108108AC_PROG_INSTALL
    109109AC_PROG_MAKE_SET
  • branches/2.0x/libtransmission/torrent.c

    r11469 r11470  
    16811681        const time_t now = tr_time( );
    16821682
    1683 #ifdef HAVE_CLEARENV
    1684         clearenv( );
    1685 #endif
    1686 
    16871683        setenv( "TR_APP_VERSION", SHORT_VERSION_STRING, 1 );
    16881684
Note: See TracChangeset for help on using the changeset viewer.