diff options
author | Cem Keylan <cem@ckyln.com> | 2021-07-14 15:26:34 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-07-14 15:26:34 +0300 |
commit | 1ebccdd350189ff1b1374a58ad24843ad0fe65f2 (patch) | |
tree | 24524e9736df2cc7f22ae184a88d5da3b4b52036 /patches/0009-patch-Avoid-d_namlen.patch | |
parent | 01e3a0e242b526ae2791de8a0947920e3c9a9ec4 (diff) | |
download | otools-1ebccdd350189ff1b1374a58ad24843ad0fe65f2.tar.gz |
remove patch directory
Diffstat (limited to 'patches/0009-patch-Avoid-d_namlen.patch')
-rw-r--r-- | patches/0009-patch-Avoid-d_namlen.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/patches/0009-patch-Avoid-d_namlen.patch b/patches/0009-patch-Avoid-d_namlen.patch deleted file mode 100644 index 33d744a..0000000 --- a/patches/0009-patch-Avoid-d_namlen.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 91483dfca3aa6373451120db45c60198faa0766e Mon Sep 17 00:00:00 2001 -From: Michael Forney <mforney@mforney.org> -Date: Sat, 4 Jun 2016 18:40:37 -0700 -Subject: [PATCH] patch: Avoid d_namlen - ---- - usr.bin/patch/backupfile.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/usr.bin/patch/backupfile.c b/usr.bin/patch/backupfile.c -index d9e40bcba..1d7858ae3 100644 ---- a/usr.bin/patch/backupfile.c -+++ b/usr.bin/patch/backupfile.c -@@ -95,7 +95,7 @@ max_backup_version(const char *file, const char *dir) - file_name_length = strlen(file); - - while ((dp = readdir(dirp)) != NULL) { -- if (dp->d_namlen <= file_name_length) -+ if (strlen(dp->d_name) <= file_name_length) - continue; - - this_version = version_number(file, dp->d_name, file_name_length); --- -2.12.2 - |