Menu

#16 mman quits upon zero-byte cache entry

closed
5
2003-09-28
2003-08-28
No

Hi there

I found an error in middleman.

If there are files with a size of 0 in the cache (e.g.
by $> > cachefile) then middleman simply quits completely.

It is possible to reproduce it.

Discussion

  • jason mclaughlin

    Logged In: YES
    user_id=432781

    I guess the simple answer is to not create files with 0 size :)
    I'll add more checks in the cache code to catch corner cases like this,
    thanks for pointing it out.

     
  • Joachim Karrer

    Joachim Karrer - 2003-08-28

    Logged In: YES
    user_id=414064

    [Not creating files with 0 bytes]

    That would be the best solution of all ;-)

    Thanks for the quick response. I did encounter this failure
    by accident. But since you're working on it, it'll be soon past.

    Cu
    Joachim

     
  • jason mclaughlin

    • status: open --> closed
     
  • Joachim Karrer

    Joachim Karrer - 2003-09-28
    • assigned_to: nobody --> mcjason
     

Log in to post a comment.

Auth0 Logo