Changeset 10629 for trunk/libtransmission/bencode.c
- Timestamp:
- May 5, 2010, 4:03:33 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/bencode.c
r10549 r10629 14 14 #include <ctype.h> /* isdigit() */ 15 15 #include <errno.h> 16 #include <limits.h> /* PATH_MAX */17 16 #include <math.h> /* fabs() */ 18 17 #include <stdio.h> … … 33 32 #include "json.h" 34 33 #include "list.h" 34 #include "platform.h" /* MAX_PATH_LEN */ 35 35 #include "ptrarray.h" 36 36 #include "utils.h" /* tr_new(), tr_free() */ … … 1622 1622 int fd; 1623 1623 int err = 0; 1624 char buf[ PATH_MAX];1624 char buf[MAX_PATH_LENGTH]; 1625 1625 1626 1626 /* follow symlinks to find the "real" file, to make sure the temporary
Note: See TracChangeset
for help on using the changeset viewer.