[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: changelog bug-closing should not be used unless the code changes



>>>>> " " == Raul Miller <moth@debian.org> writes:

     > For this be true, it must also be true that no data will be
     > lost when a command line like the following is executed, and
     > the file system is full:

     > $ command blah blah... >file

     > For example, the program could wait (presumably in select()) if
     > the file system was full when trying to exit() with non-empty
     > buffers.

     > Exiting without writing the data [and even more, without
     > providing a failure notice] is clearly a violation of this
     > standard.

>From man 2 write:

ERRORS
       ENOSPC The  device  containing  the file referred to by fd
              has no room for the data.

Other output functions should also set errno to ENOSPC when the
filesystem is full, or not?

MfG
        Goswin



Reply to: