Giter VIP home page Giter VIP logo

Comments (4)

doug-gilbert avatar doug-gilbert commented on July 30, 2024

This seems like a corner case. Reading /dev/null yields EOF so its length is 0 bytes. So the only misreporting above is "remaining blocks=-3". Overall, is it an error? Probably because it was asked to copy one 512 byte block (to stdout). Thoughts?

from sg3_utils.

sshedi avatar sshedi commented on July 30, 2024

I called it a regression because this works fine in v1.46 so, the behavior should be preserved right?

from sg3_utils.

doug-gilbert avatar doug-gilbert commented on July 30, 2024

In v1.46 it reports the request count was not copied but returns an exit status of 0. That was changed in v1.47 to considering that as an error. v1.47 has been out for 18 months and I will shortly release v1.48 . I believe that it is an error and shouldn't be quietly ignored. So I plan to keep the v1.47 action. Just put up a new version that fixes the "remaining blocks=-3" part and that should be now remaining blocks=1 . Thanks for reporting this.

from sg3_utils.

sshedi avatar sshedi commented on July 30, 2024

Thanks for the inputs. Yes, what you said makes sense. Closing this.

from sg3_utils.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.