1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

4 commits

Author SHA1 Message Date
knu
9abb1dc8e1 * ext/syslog/syslog.c: Cut redundancy.
* ext/syslog/syslog.c: Do not leak ident.

* ext/syslog/syslog.c, ext/syslog/test.rb: Syslog.close should
  raise RuntimeError when not opened.

* ext/syslog/syslog.c, ext/syslog/test.rb:
  Syslog.{ident,options,facility,mask} should all return nil when
  not opened.

* ext/syslog/syslog.c, ext/syslog/test.rb: Change back the output
  format of inspect().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-27 08:44:04 +00:00
knu
04e0b91267 * ext/syslog/syslog.c: Fix a problem where Syslog#ident was not
marked and could thus be GC'd.

* ext/syslog/test.rb: Switch from RUnit to Test::Unit.

* ext/syslog/test.rb: The output format of inspect() is slightly
  altered.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-27 07:23:12 +00:00
knu
d130aafd1c * ext/syslog/syslog.c: Merge from rough. Turn Syslog into a
module keeping backward compatibility intact.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-25 12:56:23 +00:00
(no author)
ae5ef8edef This commit was manufactured by cvs2svn to create branch 'ruby_1_6'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-01 14:23:57 +00:00