diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2017-11-30 21:40:52 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2017-11-30 21:40:52 +0530 |
commit | 5ff29cede8e672eecc4d817dbc7fa311758116aa (patch) | |
tree | bb6e3eb4cfaf613478397398671f217e945de42c | |
parent | cd2bdc5991cd61da1b1ab386b096fb14676e4b2b (diff) | |
download | nnn-5ff29cede8e672eecc4d817dbc7fa311758116aa.tar.gz |
Fix #50: revert to -O2 optimization
The while loop in xstrlcpy() breaks when -O3 is used.
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | scripts/test/mktest.sh | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -3,7 +3,7 @@ VERSION = 1.5 PREFIX ?= /usr/local MANPREFIX = $(PREFIX)/share/man -CFLAGS += -O3 -Wall -Wextra -Wno-unused-parameter +CFLAGS += -O2 -Wall -Wextra -Wno-unused-parameter LDLIBS = -lreadline ifeq ($(shell pkg-config ncursesw && echo 1),1) diff --git a/scripts/test/mktest.sh b/scripts/test/mktest.sh index f5e4fb5..301245b 100755 --- a/scripts/test/mktest.sh +++ b/scripts/test/mktest.sh @@ -37,3 +37,4 @@ touch 'unicode/Malgudi Days - मालगुडी डेज - E05. Swami and F chmod +x 'unicode/Malgudi Days - मालगुडी डेज - E05. Swami and Friends - स्वामी और उसके दोस्त (Part 2)' touch 'unicode/Führer' touch 'unicode/Eso eso aamar ghare eso ♫ এসো এসো আমার ঘরে এসো ♫ Swagatalakshmi Dasgupta' +touch 'max_chars_filename_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' |