You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Douglas Creager (Updated) (JIRA)" <ji...@apache.org> on 2011/12/13 20:30:30 UTC
[jira] [Updated] (AVRO-961) avrocat/avropipe to use stdin when no
file specified
[ https://issues.apache.org/jira/browse/AVRO-961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Douglas Creager updated AVRO-961:
---------------------------------
Attachment: 0001-AVRO-961.-C-avrocat-pipe-use-stdin-when-no-file-is-s.patch
The previous patch won't work on Windows systems, since there isn't a /dev/stdin file to open. This patch updates the I/O reader classes to take in an already-open FILE pointer. This lets avrocat and avropipe pass in the stdin FILE pointer directly, which should work on just about every system.
> avrocat/avropipe to use stdin when no file specified
> ----------------------------------------------------
>
> Key: AVRO-961
> URL: https://issues.apache.org/jira/browse/AVRO-961
> Project: Avro
> Issue Type: Improvement
> Components: c
> Affects Versions: 1.6.1
> Environment: Linux x86_64
> avro-c 1.6.1
> Reporter: Michael Cooper
> Priority: Trivial
> Labels: avro, avrocat, avropipe, c
> Attachments: 0001-AVRO-961.-C-avrocat-pipe-use-stdin-when-no-file-is-s.patch, avrocat.patch
>
>
> Currently, when using avrocat or avropipe in a pipe, you have to specify /dev/stdin explicitly.
> It would be nice if it defaulted to /dev/stdin when no file was specified.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira