summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/posix_opt.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/posix_opt.h')
-rw-r--r--sysdeps/unix/sysv/linux/posix_opt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/posix_opt.h b/sysdeps/unix/sysv/linux/posix_opt.h
index c1ff431fc9..8a6fad0eb1 100644
--- a/sysdeps/unix/sysv/linux/posix_opt.h
+++ b/sysdeps/unix/sysv/linux/posix_opt.h
@@ -60,4 +60,7 @@ Boston, MA 02111-1307, USA. */
using the value _POSIX_VDISABLE. */
#define _POSIX_VDISABLE '\0'
+/* Filenames are not silently truncated. */
+#define _POSIX_NO_TRUNC 1
+
#endif /* posix_opt.h */