summaryrefslogtreecommitdiffhomepage
path: root/libbb/get_line_from_file.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-01 21:05:12 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-01 21:05:12 +0000
commitb97c9842a521a54980b247ab8b920f057b128b2e (patch)
tree54731506b0d02a639aa2781412ca3ceab927594f /libbb/get_line_from_file.c
parentbb119d059a80c85fe844b9f9c770e0c77aeb49e6 (diff)
sed: unbreak multiple -e, -f option handling (my fault)
Diffstat (limited to 'libbb/get_line_from_file.c')
-rw-r--r--libbb/get_line_from_file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/get_line_from_file.c b/libbb/get_line_from_file.c
index 68837b20d..de49eb51d 100644
--- a/libbb/get_line_from_file.c
+++ b/libbb/get_line_from_file.c
@@ -16,7 +16,7 @@
/* get_line_from_file() - This function reads an entire line from a text file,
* up to a newline or NUL byte. It returns a malloc'ed char * which must be
* stored and free'ed by the caller. If end is null '\n' isn't considered
- * and of line. If end isn't null, length of the chunk read is stored in it. */
+ * end of line. If end isn't null, length of the chunk read is stored in it. */
char *bb_get_chunk_from_file(FILE * file, int *end)
{
@@ -46,7 +46,7 @@ char *bb_get_chunk_from_file(FILE * file, int *end)
return linebuf;
}
-/* Get line, including trailing /n if any */
+/* Get line, including trailing \n if any */
char *bb_get_line_from_file(FILE * file)
{
int i;
@@ -54,7 +54,7 @@ char *bb_get_line_from_file(FILE * file)
return bb_get_chunk_from_file(file, &i);
}
-/* Get line. Remove trailing /n */
+/* Get line. Remove trailing \n */
char *bb_get_chomped_line_from_file(FILE * file)
{
int i;