Changeset 10629


Ignore:
Timestamp:
May 5, 2010, 4:03:33 PM (9 years ago)
Author:
charles
Message:

(trunk libT) fix bencode.c cross-compile error on arm-based NAS reported by nahkiss. This bug was introduced in a patch to fix #3172 and was added to trunk with r10549 and 1.9x/ with r10549

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bencode.c

    r10549 r10629  
    1414#include <ctype.h> /* isdigit() */
    1515#include <errno.h>
    16 #include <limits.h> /* PATH_MAX */
    1716#include <math.h> /* fabs() */
    1817#include <stdio.h>
     
    3332#include "json.h"
    3433#include "list.h"
     34#include "platform.h" /* MAX_PATH_LEN */
    3535#include "ptrarray.h"
    3636#include "utils.h" /* tr_new(), tr_free() */
     
    16221622    int fd;
    16231623    int err = 0;
    1624     char buf[PATH_MAX];
     1624    char buf[MAX_PATH_LENGTH];
    16251625
    16261626    /* follow symlinks to find the "real" file, to make sure the temporary
Note: See TracChangeset for help on using the changeset viewer.