
5 changed files with 12 additions and 45 deletions
@ -1,3 +1,3 @@ |
|||
TIMESTAMP = 1611440307 |
|||
SHA256 (vorbis-tools-1.4.2.tar.gz) = db7774ec2bf2c939b139452183669be84fda5774d6400fc57fde37f77624f0b0 |
|||
SIZE (vorbis-tools-1.4.2.tar.gz) = 1389947 |
|||
TIMESTAMP = 1744869841 |
|||
SHA256 (vorbis-tools-1.4.3.tar.gz) = a1fe3ddc6777bdcebf6b797e7edfe0437954b24756ffcc8c6b816b63e0460dde |
|||
SIZE (vorbis-tools-1.4.3.tar.gz) = 1804238 |
|||
|
@ -1,30 +0,0 @@ |
|||
diff --git a/oggenc/platform.c b/oggenc/platform.c |
|||
index 6d9f4ef..b66e47a 100644 |
|||
--- oggenc/platform.c |
|||
+++ oggenc/platform.c |
|||
@@ -136,18 +136,22 @@ int create_directories(char *fn, int isutf8) |
|||
{ |
|||
char *end, *start; |
|||
struct stat statbuf; |
|||
- char *segment = malloc(strlen(fn)+1); |
|||
+ const size_t fn_len = strlen(fn); |
|||
+ char *segment = malloc(fn_len+1); |
|||
#ifdef _WIN32 |
|||
wchar_t seg[MAX_PATH+1]; |
|||
#endif |
|||
|
|||
start = fn; |
|||
#ifdef _WIN32 |
|||
- if(strlen(fn) >= 3 && isalpha(fn[0]) && fn[1]==':') |
|||
+ // Strip drive prefix |
|||
+ if(fn_len >= 3 && isalpha(fn[0]) && fn[1]==':') { |
|||
+ |
|||
start = start+2; |
|||
#endif |
|||
|
|||
- while((end = strpbrk(start+1, PATH_SEPS)) != NULL) |
|||
+ // Loop through path segments, creating directories if necessary |
|||
+ while((end = strpbrk(start + strspn(start, PATH_SEPS), PATH_SEPS)) != NULL) |
|||
{ |
|||
int rv; |
|||
memcpy(segment, fn, end-fn); |
@ -1,10 +0,0 @@ |
|||
--- ogginfo/codec_skeleton.c.orig 2021-01-23 22:20:35 UTC |
|||
+++ ogginfo/codec_skeleton.c |
|||
@@ -24,6 +24,7 @@ |
|||
|
|||
#include <ogg/ogg.h> |
|||
|
|||
+#include "utf8.h" |
|||
#include "i18n.h" |
|||
|
|||
#include "private.h" |
Loading…
Reference in new issue