"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "getline.c" between
lookat_bekijk-1.4.3.tar.gz and lookat_bekijk-1.4.4.tar.gz

About: Lookat/Bekijk is a program to view Un*x text files and manual pages.

getline.c  (lookat_bekijk-1.4.3):getline.c  (lookat_bekijk-1.4.4)
skipping to change at line 169 skipping to change at line 169
break; break;
} }
/* Done - NUL terminate and return the number of chars read. */ /* Done - NUL terminate and return the number of chars read. */
*read_pos = '\0'; *read_pos = '\0';
ret = read_pos - (*lineptr + offset); ret = read_pos - (*lineptr + offset);
return ret; return ret;
} }
#ifndef __OpenBSD__
#ifndef __NetBSD__
int int
getline (lineptr, n, stream) getline (lineptr, n, stream)
char **lineptr; char **lineptr;
size_t *n; size_t *n;
FILE *stream; FILE *stream;
{ {
return getstr (lineptr, n, stream, '\n', 0); return getstr (lineptr, n, stream, '\n', 0);
} }
#if defined(__FreeBSD__) #if defined(__FreeBSD__)
skipping to change at line 195 skipping to change at line 198
#endif #endif
getdelim (lineptr, n, delimiter, stream) getdelim (lineptr, n, delimiter, stream)
char **lineptr; char **lineptr;
size_t *n; size_t *n;
int delimiter; int delimiter;
FILE *stream; FILE *stream;
{ {
return getstr (lineptr, n, stream, delimiter, 0); return getstr (lineptr, n, stream, delimiter, 0);
} }
#endif #endif
#endif /* ifndef __NetBSD__ */
#endif /* ifndef __OpenBSD__ */
 End of changes. 2 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS