Bob Goddard wrote: > Using fopen/fputs to ONLY append to a file, is quite frankly, stupid. > Change it to open/write and you will be able to trap via the write > return code and errno.
Patches to fix bugs are most welcome. Given that these files are written using fprintf (because they are using format strings and long lists of arguments), using write will require allocating memory, building the output there and then calling write(). Seems like an awful lot of work to avoid a simple system administration failure. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
