chiark / gitweb /
fixes
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Thu, 29 Apr 2010 20:08:59 +0000 (21:08 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Thu, 29 Apr 2010 20:08:59 +0000 (21:08 +0100)
backends/innduct.c

index 7f4072549e13a29c713a3568c653b82307a873c8..acbae608ad4ecef16452814f886d56ef3a565d8d 100644 (file)
@@ -1,4 +1,18 @@
 /*
+ * bugs
+ *
+
+ [740] <sit> info: processed feedfile(null) read=4(+0bl,+6err) offered=5(ch5,nc0) accepted=0(ch0+nc0) unwanted=0(0id+0bd+0nc) rejected=0(0id+0bd+0nc) deferred=0(0id+0bd+0nc) missing=2(0id+2bd+0nc) connretry=0(0id+0bd+0nc)
+
+    (null) ?!
+
+   also unwanted should be nonzero I think
+
+   %d(  is too hard to read
+
+ [740] <sit> warning: corrupted file: /home/ian/things/Innfeed/inn2-2.4.5/fee, offset 349: line partially blanked: in `                                                  @050000002D130000006A0000000000000000@ <mi'..
+
+
  * todo
  *  - actually do something with readable on control master
  *  - option for realsockdir
@@ -1798,7 +1812,7 @@ static void feedfile_eof(InputFile *ipf) {
 }
 
 static InputFile *open_input_file(const char *path) {
-  int fd= open(path, O_RDONLY);
+  int fd= open(path, O_RDWR);
   if (fd<0) {
     if (errno==ENOENT) return 0;
     sysfatal("unable to open input file %s", path);