[#35688] サブクラスのオブジェクト生成時に、スーパークラスの初期化を行うには ? — Onodera Takafumi <onodera-tak@...>

9 messages 2002/08/01

[#35772] Unsecure world writeable dirの警告 — "井上 浩一" <kyoui32@...>

=1B$B0f>e$G$9!#=1B(B

31 messages 2002/08/26
[#35774] Re: Unsecure world writeable dir の警告 — matz@... (Yukihiro Matsumoto) 2002/08/26

まつもと ゆきひろです

[#35775] Re: Unsecure world writeabledir の警告 — nobu.nakada@... 2002/08/26

なかだです。

[#35776] Re: Unsecure world writeabledir の警告 — matz@... (Yukihiro Matsumoto) 2002/08/26

まつもと ゆきひろです

[#35778] Re: Unsecure world writeabledir の警告 — nobu.nakada@... 2002/08/26

なかだです。

[#35779] Re: Unsecure world writeabledir の警告 — WATANABE Hirofumi <eban@...> 2002/08/26

わたなべです。

[#35780] Re: Unsecure world writeabledir の警告 — nobu.nakada@... 2002/08/26

なかだです。

[#35784] Re: Unsecure world writeabledir の警告 — "U.Nakamura" <usa@...> 2002/08/26

こんにちは、なかむら(う)です。

[#35854] Re: Unsecure world writeabledir の警告 — "Inoue" <rubyist@...1.117.ne.jp> 2002/09/04

井上です。

[#35865] Re: Unsecure world writeabledir の警告 — Koji Arai <JCA02266@...> 2002/09/05

新井です。

[#35866] Re: Unsecure world writeabledir の警告 — matz@... (Yukihiro Matsumoto) 2002/09/06

まつもと ゆきひろです

[#35789] multipart な CGI を速くしたい — Takashi Kanai <kanai@...4u.or.jp>

Windows上でRubyとMySQLを使ってショッピングサイトのようなものを作って

17 messages 2002/08/28

[ruby-list:35753] Re: SMTP サーバクラス

From: とみたまさひろ <tommy@...>
Date: 2002-08-13 11:32:43 UTC
List: ruby-list #35753
とみたです。

On Sun, 11 Aug 2002 22:28:03 +0900
Kazuhiro NISHIYAMA <zn@mbf.nifty.com> wrote:

> クライアントが改行なしで送信し続けたらどうなるんでしょうか?

あ〜、メモリ喰い潰しますな…。やっぱ、まずいか… (^^;

# そういえば Ruby って fgets(3) 相当の関数がないですね。
# 「1行または指定したバイト数分読み込む」というの。

gets の代わりに↓こういうのを使えばいいのかな…。

class IO
  def gets_nbytes(len)
    ret = ''
    while chr = getc() do
      ret << chr
      break if chr == ?\n or ret.length >= len
    end
    ret
  end
end

-- 
とみたまさひろ <tommy@tmtm.org>

In This Thread