about summary refs log tree commit diff
path: root/converter/other/pnmtotiffcmyk.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-03-26 17:12:57 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-03-26 17:12:57 +0000
commitd1888145c840aff23c816de708e28b14c74d2976 (patch)
tree3ab3306e05156665f756cb6fe2de11c38b6bf962 /converter/other/pnmtotiffcmyk.c
parent9c6fe598ae9fff42dd705caa656d5dc4d712f667 (diff)
downloadnetpbm-mirror-d1888145c840aff23c816de708e28b14c74d2976.tar.gz
netpbm-mirror-d1888145c840aff23c816de708e28b14c74d2976.tar.xz
netpbm-mirror-d1888145c840aff23c816de708e28b14c74d2976.zip
Rebase to Release 10.42
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@603 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pnmtotiffcmyk.c')
-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" ) ;