[prev in list] [next in list] [prev in thread] [next in thread]
List: gphoto-devel
Subject: [GNU Photo devel] gphoto -n | cat
From: Scott. scottf () scs ! unr ! edu
Date: 1999-06-30 23:15:22
[Download RAW message or body]
On 30 Jun 1999, Christopher Creutzig wrote:
> to make 'gphoto -n | cat' work (actually, I want
> 'if [ `gphoto -n` -gt 0 ]; then ...'), I had to insert 'fflush(NULL);'
> after the corresponding printf line in commandline.c:
> For some strange reason, stdout is lost in this situation unless
> explicitly flushed. The line shouldn't hurt in any case.
that's odd. stdout should be flushed when it finds the carriage return,
but oh well. i'll add that line :)
-=Scott
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic