From 6df3e23245b2c3793f24e4c42dd330d59419494c Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Mon, 28 Jul 2014 14:12:36 +0000 Subject: Rename audio/ patch-xy patches to reflect the files they modify. --- audio/ascd/files/patch-faktory.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 audio/ascd/files/patch-faktory.c (limited to 'audio/ascd/files/patch-faktory.c') diff --git a/audio/ascd/files/patch-faktory.c b/audio/ascd/files/patch-faktory.c new file mode 100644 index 000000000000..5ced3c75f1ba --- /dev/null +++ b/audio/ascd/files/patch-faktory.c @@ -0,0 +1,14 @@ +--- /usr/ports/audio/ascd/work/ascd-0.13.2/faktory.c Mon Jul 5 20:52:38 1999 ++++ faktory.c Sat Sep 2 17:26:31 2000 +@@ -58,9 +58,9 @@ + unsigned int pos = 0; + + if ((strlen(ligne) > 0) && (ligne[0] != '#')) { +- while ((ligne[pos] != ' ') && (ligne[pos] != 9)) pos++; ++ while (ligne[pos] && (ligne[pos] != ' ') && (ligne[pos] != 9)) pos++; + tes_sncpy(key, ligne, pos); +- while (((ligne[pos] == ' ') || (ligne[pos] == 9)) && (pos < strlen(ligne))) pos++; ++ while (ligne[pos] && ((ligne[pos] == ' ') || (ligne[pos] == 9))) pos++; + if (pos < strlen(ligne)) strcpy(arguments, ligne + pos); + else strcpy(arguments, ""); + if (debug > 2) fprintf(stderr,"++ input: [%s]\n key: [%s]\n args: [%s]\n", ligne, key, arguments); -- cgit v1.2.3