Giter VIP home page Giter VIP logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
I have fixed this problem. Sorry, I don't know how to generate a patch. Here's 
the
diff output:

diff crush-2008-10{,_fix}/src/cutfield/cutfield.c
32c32
< 
---
>   FILE *in = stdin;
72,73c72,73
<     fclose(stdin);
<     stdin = nextfile(argc, argv, &optind, "r");
---
>     fclose(in);
>     in = nextfile(argc, argv, &optind, "r");
76c76
<   while (stdin) {
---
>   while (in) {
84c84
<     while (getline(&in_buffer, &in_buffer_sz, stdin) > 0) {
---
>     while (getline(&in_buffer, &in_buffer_sz, in) > 0) {
118c118
<     stdin = nextfile(argc, argv, &optind, "r");
---
>     in = nextfile(argc, argv, &optind, "r");


diff crush-2008-10{,_fix}/src/truncfield/truncfield.c
32c32
< 
---
>   FILE *in = stdin;
71,72c71,72
<     fclose(stdin);
<     stdin = nextfile(argc, argv, &optind, "r");
---
>     fclose(in);
>     in = nextfile(argc, argv, &optind, "r");
75c75
<   while (stdin) {
---
>   while (in) {
83c83
<     while (getline(&in_buffer, &in_buffer_sz, stdin) > 0) {
---
>     while (getline(&in_buffer, &in_buffer_sz, in) > 0) {
113c113
<     stdin = nextfile(argc, argv, &optind, "r");
---
>     in = nextfile(argc, argv, &optind, "r");


Original comment by [email protected] on 9 Jan 2009 at 4:23

from crush-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Thanks for reporting this and taking the time to investigate the cause.  I'll 
get my
hands on a Mac and verify the patch, and get it applied before the 2009-01 
release.

Original comment by [email protected] on 9 Jan 2009 at 6:39

from crush-tools.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Upon closer inspection, it looks like the problem was already eliminated in 
trunk as
a side-effect of some new feature work.

A 2009-01 release candidate should be posted to the discussion group
(http://groups.google.com/group/crush-tools/) in a few days.  When that's 
available,
if you'd like to pull it down and verify that it builds on Mac OS 10.4, that 
would be
great.

Original comment by [email protected] on 9 Jan 2009 at 9:26

  • Changed state: Fixed

from crush-tools.

Related Issues (20)

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.