aboutsummaryrefslogtreecommitdiffhomepage
path: root/output.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-10-15 10:51:26 +1000
committerGravatar axel <axel@liljencrantz.se>2005-10-15 10:51:26 +1000
commit9298f610f6f26425db36d8727ad533d660a6c5d6 (patch)
tree53c6f257f99c7e35c0975744edf5ca7d4e10818f /output.c
parent638df31ca462b032d59bde586254be5f3dc21e35 (diff)
Add support for specifying event handler for calling job in command supstitution. Add psub shellscript function for process substitution
darcs-hash:20051015005126-ac50b-d2aedca3a50a78362502f3fa9dd8bf25cb7dc6e1.gz
Diffstat (limited to 'output.c')
-rw-r--r--output.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/output.c b/output.c
index 85658684..34e8819b 100644
--- a/output.c
+++ b/output.c
@@ -258,9 +258,9 @@ int writech( wint_t ch )
*/
void writestr( const wchar_t *str )
{
- while( *str )
- writech( *str++ );
-/*
+// while( *str )
+// writech( *str++ );
+
size_t len = MAX_UTF8_BYTES*wcslen(str)+1;
if( writestr_buff_sz < len )
@@ -276,7 +276,7 @@ void writestr( const wchar_t *str )
writestr_buff_sz );
write( 1, writestr_buff, strlen( writestr_buff ) );
-*/
+
}