if (line->length>=line->size) {
line->size+=LINE_BUFFER_SIZE_INCREMENT;
if (line->size>=MAX_LINE_BUFFER_SIZE) {
- debuga(_("A text line is more than %d bytes long denoting a corrupted file\n"),MAX_LINE_BUFFER_SIZE);
+ debuga(__FILE__,__LINE__,_("A text line is more than %d bytes long denoting a corrupted file\n"),MAX_LINE_BUFFER_SIZE);
exit(EXIT_FAILURE);
}
newbuf=realloc(line->buffer,line->size);
if (!newbuf) {
- debuga(_("Not enough memory to read one more line from the file\n"));
+ debuga(__FILE__,__LINE__,_("Not enough memory to read one more line from the file\n"));
exit(EXIT_FAILURE);
}
line->buffer=newbuf;
line->size++;
newbuf=realloc(line->buffer,line->size);
if (!newbuf) {
- debuga(_("Not enough memory to read one more line from the file\n"));
+ debuga(__FILE__,__LINE__,_("Not enough memory to read one more line from the file\n"));
exit(EXIT_FAILURE);
}
line->buffer=newbuf;