summaryrefslogtreecommitdiff
path: root/audio/lash/files/patch-lashd-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/lash/files/patch-lashd-store.c')
-rw-r--r--audio/lash/files/patch-lashd-store.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/audio/lash/files/patch-lashd-store.c b/audio/lash/files/patch-lashd-store.c
deleted file mode 100644
index 0558601dec7b..000000000000
--- a/audio/lash/files/patch-lashd-store.c
+++ /dev/null
@@ -1,34 +0,0 @@
---- lashd/store.c.orig Sat Jan 13 15:45:09 2007
-+++ lashd/store.c Sat Jan 13 15:45:12 2007
-@@ -35,6 +35,31 @@
-
- #define STORE_INFO_FILE ".store_info"
-
-+ssize_t
-+getline (char **lineptr, size_t *n, FILE *stream)
-+{
-+ int linelen;
-+
-+ char *line=fgetln(stream, &linelen);
-+
-+ if (line==NULL) {
-+ *lineptr=NULL;
-+ return -1;
-+ }
-+
-+ if (linelen + 1 > *n ) {
-+ *lineptr=realloc(*lineptr, linelen + 1);
-+ *n=linelen + 1;
-+
-+ if (lineptr==NULL)
-+ return -1;
-+ }
-+
-+ strlcpy(*lineptr, line, linelen + 1);
-+
-+ return linelen;
-+}
-+
- void
- store_free(store_t * store)
- {