avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Douglas Creager (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-961) avrocat/avropipe to use stdin when no file specified
Date Tue, 13 Dec 2011 19:30:30 GMT

     [ 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

        

Mime
View raw message