fclose() again

From: Evan Langlois (goth_74@yahoo.com)
Date: Fri Jul 14 2000 - 16:27:54 EDT

  • Next message: Martin Josefsson: "Re: ReiserFS patch for 2.4.0-test2"

    Well, according to the man page, fclose() should return EBADF if the passed
    argument is not an open stream. No where does it say that it segfaults, and
    the I don't see when it returns EBADF instead of segfaulting.

    I think the library might need to be patched, wherever it is segfaulting.

    ***** quote ************
    ** fclose requires a valid FILE object pointer, and NULL isn't among them.
    ** Case closed.
    **
    ** Andreas.

    __________________________________________________
    Do You Yahoo!?
    Get Yahoo! Mail – Free email you can access from anywhere!
    http://mail.yahoo.com/

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Fri Jul 14 2000 - 16:34:47 EDT