Download
Magazine
Develop
Account
Download
Magazine
Develop
Login
Forgot Account/Password
Create Account
Language
Help
Language
Help
×
Login
Login Name
Password
×
Forgot Account/Password
Category:
Software
People
PersonalForge
Magazine
Wiki
Search
OSDN
>
Find Software
>
Communications
>
Email
>
Filters
>
bsfilter
>
Forums
>
users
>
sync
bsfilter
Description
Project Summary
Developer Dashboard
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
History
Downloads
List of Releases
Stats
Source Code
Code Repository list
CVS
View Repository
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
FrontPage
Title index
Recent changes
Communication
List of Forums
users (627)
Forums:
users
(Thread #17866)
Return to Thread list
RSS
sync (2008-02-29 22:35 by
Anonymous
#35350)
Reply
Create ticket
--show-processを指定してstdoutをファイルにリダイレクトしているのですが
バッファリングされているためファイルには途中までしか出力されていません。
添付のパッチは適切ではないかもしれませんが
とにかく適当なタイミングでフラッシュされてほしいです。
Index: bsfilter
===================================================================
RCS file: /cvsroot/bsfilter/bsfilter/bsfilter,v
retrieving revision 1.84
diff -u -p -r1.84 bsfilter
--- bsfilter 12 Feb 2007 05:45:32 -0000 1.84
+++ bsfilter 29 Feb 2008 13:31:15 -0000
@@ -3282,6 +3282,7 @@ EOM
@options["message-fh"] = STDOUT
@options["pipe-fh"] = STDOUT
# keep STDOUT in text mode
+ @options["message-fh"].sync = true
end
## @options["message-fh"].sync = true
Reply to #35350
×
Subject
Body
Reply To Message #35350 > --show-processを指定してstdoutをファイルにリダイレクトしているのですが > バッファリングされているためファイルには途中までしか出力されていません。 > 添付のパッチは適切ではないかもしれませんが > とにかく適当なタイミングでフラッシュされてほしいです。 > > Index: bsfilter > =================================================================== > RCS file: /cvsroot/bsfilter/bsfilter/bsfilter,v > retrieving revision 1.84 > diff -u -p -r1.84 bsfilter > --- bsfilter 12 Feb 2007 05:45:32 -0000 1.84 > +++ bsfilter 29 Feb 2008 13:31:15 -0000 > @@ -3282,6 +3282,7 @@ EOM > @options["message-fh"] = STDOUT > @options["pipe-fh"] = STDOUT > # keep STDOUT in text mode > + @options["message-fh"].sync = true > end > > ## @options["message-fh"].sync = true >
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Login
Nickname
Preview
Post
Cancel
RE: sync (2008-03-02 23:27 by
nabeken
#35392)
Reply
Create ticket
とくに副作用は思いつかなかったので、syncするようにして1.0.16をリリースしました。
フラッシュされなくて不都合ということは、メール毎にプロセスを起動、終了するような使い方ではない、ということでしょうか。
Reply to
#35350
Reply to #35392
×
Subject
Body
Reply To Message #35392 > とくに副作用は思いつかなかったので、syncするようにして1.0.16をリリースしました。 > > フラッシュされなくて不都合ということは、メール毎にプロセスを起動、終了するような使い方ではない、ということでしょうか。 >
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Login
Nickname
Preview
Post
Cancel
RE: sync (2008-03-02 23:54 by
Anonymous
#35393)
Reply
Create ticket
そうです。ふだんはPOPサーバとしてつかっています。
Reply to
#35392
Reply to #35393
×
Subject
Body
Reply To Message #35393 > そうです。ふだんはPOPサーバとしてつかっています。
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Login
Nickname
Preview
Post
Cancel