Compare commits

..

No commits in common. "f3c01390b4e65a854ae1fb16ceba68b0dc1053dc" and "9dcdbcdc5e95b6a240bf7b0dbca35f95b5c22825" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
CC=clang
CFLAGS=-pedantic -Wall -Wextra -std=c99 -D_GNU_SOURCE -Ofast
CFLAGS=-pedantic -Wall -Wextra -std=c99 -D_GNU_SOURCE -O3
all: shorten

View File

@ -114,8 +114,8 @@ int main(int argc, char **argv) {
// Beginning of file?
if (lseek(fd, 0, SEEK_CUR) == 0) {
printf("No change: requested removal would leave empty file\n");
return 3;
printf("No change: file does not end with a newline\n");
return 1;
}
}