remove agetline

This commit is contained in:
Evan Gates
2014-11-18 12:49:30 -08:00
committed by sin
parent cca0522872
commit 84b08427a1
14 changed files with 13 additions and 28 deletions

2
tr.c
View File

@@ -346,7 +346,7 @@ main(int argc, char *argv[])
usage();
}
while ((nbytes = agetline(&buf, &size, stdin)) != -1)
while ((nbytes = getline(&buf, &size, stdin)) != -1)
mapfunc(buf, nbytes);
free(buf);
if (ferror(stdin))