summaryrefslogtreecommitdiff
path: root/fgetwc_fix.c
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2014-10-26 11:23:34 +0100
committerjaseg <code@jaseg.net>2014-10-26 11:23:34 +0100
commit8936b48e95d828a00a4788526b959b4cb622b5ac (patch)
treec49f8273047bb76f216cd920e43563a75a35fbf4 /fgetwc_fix.c
parent7de9c4aef28ba9235f9ce3f56d2dde5d6fab445f (diff)
downloadlolcat-8936b48e95d828a00a4788526b959b4cb622b5ac.tar.gz
lolcat-8936b48e95d828a00a4788526b959b4cb622b5ac.tar.bz2
lolcat-8936b48e95d828a00a4788526b959b4cb622b5ac.zip
Added a comment for the fgetwc fix
Diffstat (limited to 'fgetwc_fix.c')
-rw-r--r--fgetwc_fix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fgetwc_fix.c b/fgetwc_fix.c
index ed770ce..76cf52b 100644
--- a/fgetwc_fix.c
+++ b/fgetwc_fix.c
@@ -1,4 +1,6 @@
+/* This file contains a fixed implementation of fgetwc since glibc's one is a little segfaulty when used on fmemopen'ed files. */
+
#include <stdlib.h>
#include <wchar.h>
#include <stdio.h>