Jim Meyering
f6ab92093a
Add bulletproofing in case stdin is closed.
...
(have_read_stdin): Remove global variable.
(dc_parse_stream): Always use stdin (freopen, if needed) rather
than sometimes using fopen to get a new file descriptor.
Call fclose unconditionally.
(main): Don't close stdin here. If needed, now it's already done
by dc_parse_stream.
2005-08-12 08:06:28 +00:00
..
2004-09-27 07:22:39 +00:00
2005-06-02 05:17:24 +00:00
2005-07-11 18:21:11 +00:00
2004-09-22 20:11:10 +00:00
2005-05-30 07:31:31 +00:00
2005-06-29 16:27:37 +00:00
2005-05-30 07:31:51 +00:00
2005-05-14 07:58:31 +00:00
2005-05-14 07:58:31 +00:00
2005-05-14 07:58:31 +00:00
2005-07-11 18:21:54 +00:00
2005-07-09 22:10:38 +00:00
2005-07-11 18:28:19 +00:00
2005-07-03 09:31:19 +00:00
2005-06-02 05:17:24 +00:00
2005-06-02 05:17:24 +00:00
2005-07-03 16:49:15 +00:00
2005-08-12 07:16:25 +00:00
2005-08-12 07:16:25 +00:00
2005-08-02 20:53:32 +00:00
2005-05-14 07:58:31 +00:00
2005-07-09 22:10:38 +00:00
2005-06-02 05:12:59 +00:00
2005-08-12 08:06:28 +00:00
2005-03-26 06:56:01 +00:00
2005-06-02 05:17:24 +00:00
2005-08-02 20:52:44 +00:00
2005-05-14 07:58:31 +00:00
2005-05-14 07:58:31 +00:00
2005-08-12 07:16:25 +00:00
2005-06-16 21:41:57 +00:00
2005-06-16 21:44:25 +00:00
2005-07-18 07:52:37 +00:00
2005-05-14 07:58:31 +00:00
2005-08-12 07:29:38 +00:00
2005-02-17 20:28:22 +00:00
2005-05-14 07:58:31 +00:00
2005-07-11 18:23:23 +00:00
2005-06-16 23:46:27 +00:00
2005-06-16 21:33:43 +00:00
2005-07-08 22:55:44 +00:00
2005-06-16 09:15:23 +00:00
2005-08-12 07:16:25 +00:00
2005-05-14 07:58:31 +00:00
2005-05-14 07:58:31 +00:00
2005-06-16 09:15:23 +00:00
2005-05-14 07:58:31 +00:00
2005-07-09 07:38:28 +00:00
2005-07-18 07:52:18 +00:00
2005-08-02 21:15:19 +00:00
2004-07-30 00:54:02 +00:00
2005-07-19 11:10:35 +00:00
2005-06-14 23:55:47 +00:00
2005-05-14 07:58:31 +00:00
2005-05-14 07:58:31 +00:00
2005-07-03 16:49:15 +00:00
2005-06-16 21:36:48 +00:00
2005-05-14 07:58:31 +00:00
2005-07-15 21:55:13 +00:00
2005-08-12 07:16:25 +00:00
2005-05-14 07:58:31 +00:00
2005-05-30 07:05:07 +00:00
2005-06-02 05:17:24 +00:00
2005-08-12 07:29:51 +00:00
2005-05-14 07:58:31 +00:00
2005-07-03 08:46:05 +00:00
2005-06-16 21:33:43 +00:00
2005-06-02 05:15:07 +00:00
2005-06-02 05:11:32 +00:00
2005-07-03 09:31:19 +00:00
2005-05-14 07:58:31 +00:00
2005-05-14 07:58:31 +00:00
2005-06-22 15:25:23 +00:00
2005-06-16 21:33:43 +00:00
2005-05-14 07:58:31 +00:00
2004-07-30 00:54:02 +00:00
2005-07-11 18:30:02 +00:00
2005-06-16 21:35:40 +00:00
2005-08-12 07:16:25 +00:00
2005-07-11 18:24:42 +00:00
2005-05-14 07:58:31 +00:00
2005-07-09 07:39:04 +00:00
2005-05-14 07:58:31 +00:00
2005-07-11 18:25:23 +00:00
2005-05-14 07:58:31 +00:00
2005-07-11 18:30:26 +00:00
2004-08-03 22:40:15 +00:00
2005-07-11 18:25:56 +00:00
2005-07-11 18:26:28 +00:00
2005-07-11 18:26:52 +00:00
2005-05-30 07:34:23 +00:00
2005-07-03 07:23:18 +00:00
2005-07-11 18:27:10 +00:00
2005-07-18 07:53:05 +00:00
2005-05-14 07:58:31 +00:00
2005-06-02 05:17:24 +00:00
2005-05-14 07:58:31 +00:00
2005-08-12 07:16:25 +00:00
2005-07-05 06:32:54 +00:00
2005-05-14 07:58:31 +00:00
2005-05-14 07:58:31 +00:00
2005-05-14 07:58:31 +00:00
2005-07-11 18:27:49 +00:00
2005-03-27 08:40:30 +00:00
2005-06-02 05:17:24 +00:00
2005-05-14 07:58:31 +00:00
2005-05-14 07:58:31 +00:00