aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-03-06 10:05:06 +0000
committerRon Yorston <rmy@pobox.com>2019-03-06 10:05:06 +0000
commit5c5197df8668ba58ec7799ccc418d124a6c6a49e (patch)
treeb2cf42a770934c7adba484b5abe5e5e04e76fbff /Config.in
parent8ebe81483b8759c36c9aa5015044d8e3d2c50fd5 (diff)
downloadbusybox-w32-5c5197df8668ba58ec7799ccc418d124a6c6a49e.tar.gz
busybox-w32-5c5197df8668ba58ec7799ccc418d124a6c6a49e.tar.bz2
busybox-w32-5c5197df8668ba58ec7799ccc418d124a6c6a49e.zip
win32: implement readlink(2)
Provide an implementation of readlink(2) based on code from Git for Windows. This version only supports symbolic links, not mount points, as the latter seem to work well enough as-is. With this change the ls and stat applets can display the targets of symbolic links. The readlink applet has been enabled in the default configuration.
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index 2b4b81515..100f6e491 100644
--- a/Config.in
+++ b/Config.in
@@ -473,6 +473,16 @@ config FEATURE_IDENTIFY_OWNER
473 Try to determine if files belong to the current user. If they don't 473 Try to determine if files belong to the current user. If they don't
474 they're listed as belonging to root. 474 they're listed as belonging to root.
475 475
476config FEATURE_READLINK2
477 bool "Read the contents of symbolic links (1.1 kb)"
478 default y
479 depends on PLATFORM_MINGW32
480 help
481 Implement the readlink(2) system call to allow applets to read
482 the contents of symbolic links. With this feature ls and stat
483 can display the target of symbolic links and it makes sense to
484 enable the readlink applet.
485
476comment 'Build Options' 486comment 'Build Options'
477 487
478config STATIC 488config STATIC