about summary refs log tree commit diff
path: root/converter/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-12-31 03:12:06 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-12-31 03:12:06 +0000
commit7e3793237205f9c40d4c399a15334b28feab6243 (patch)
tree70690e63d9f5d5d3f400ff61cc3ca4d8c9226305 /converter/other
parentb68d88359c0507f7afe9033ba924fd503e0efc9e (diff)
downloadnetpbm-mirror-7e3793237205f9c40d4c399a15334b28feab6243.tar.gz
netpbm-mirror-7e3793237205f9c40d4c399a15334b28feab6243.tar.xz
netpbm-mirror-7e3793237205f9c40d4c399a15334b28feab6243.zip
Remove apparently bogus setting of O_NONBLOCK on stdout
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@523 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other')
-rw-r--r--converter/other/pnmtotiffcmyk.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/converter/other/pnmtotiffcmyk.c b/converter/other/pnmtotiffcmyk.c
index 9b5f25d4..2e6ae935 100644
--- a/converter/other/pnmtotiffcmyk.c
+++ b/converter/other/pnmtotiffcmyk.c
@@ -542,10 +542,6 @@ tiffOpen( Out* out, Root *r ) {
   short photometric = PHOTOMETRIC_SEPARATED ; /* ie cmyk */
   int bytesperrow = r->nCols ;
 
-  /* if i don't set stdout non-blocking on my machine then the read
-     that is called inside TIFFFdOpen hangs until the users types ^D.
-     this is also true for pnmtotiff */
-  fcntl( 1, F_SETFL, O_NONBLOCK ) ;
   t->tiff = TIFFFdOpen( 1, "Standard Output", "w" ) ;
   if ( ! t->tiff ) {
     fprintf( stderr, "cannot open tiff stream to standard output\n" ) ;