summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-12-13 22:35:31 -0800
committerKaz Kylheku <kaz@kylheku.com>2013-12-13 22:35:31 -0800
commitf8ffbad0cec3ff0be1376a6352fe63a3c5e5f361 (patch)
treef872eed68a69c5dd2cb921315da224f2c0bbe29f /ChangeLog
parent097cf5fd7b8ea700b6012cd22cc56268695a5248 (diff)
downloadtxr-f8ffbad0cec3ff0be1376a6352fe63a3c5e5f361.tar.gz
txr-f8ffbad0cec3ff0be1376a6352fe63a3c5e5f361.tar.bz2
txr-f8ffbad0cec3ff0be1376a6352fe63a3c5e5f361.zip
New stream property: name. Some streams can report
their name: some kind of string. * stream.c (name_k): New variable. (null_get_prop): New static function. (null_ops): Wire null_get_prop into ops structure. (stdio_get_prop): Report h->descr as name. (string_in_get_prop): New function. (string_in_ops): Wire string_in_get_prop into ops structure. (stream_init): Initialize name_k. * stream.h (name_k): Declared. * syslog.c (syslog_get_prop): Report "syslog" as stream name.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 07f901d8..6b0dcb93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,23 @@
2013-12-13 Kaz Kylheku <kaz@kylheku.com>
+ New stream property: name. Some streams can report
+ their name: some kind of string.
+
+ * stream.c (name_k): New variable.
+ (null_get_prop): New static function.
+ (null_ops): Wire null_get_prop into ops structure.
+ (stdio_get_prop): Report h->descr as name.
+ (string_in_get_prop): New function.
+ (string_in_ops): Wire string_in_get_prop into ops structure.
+ (stream_init): Initialize name_k.
+
+ * stream.h (name_k): Declared.
+
+ * syslog.c (syslog_get_prop): Report "syslog" as
+ stream name.
+
+2013-12-13 Kaz Kylheku <kaz@kylheku.com>
+
* signal.c (sig_handler): Pass two arguments to signal
handler rather than 1. The new argument is the value t,
telling the handler that it's asynchronously invoked in