[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 03/06: Add get_source support to firmlink
From: |
Samuel Thibault |
Subject: |
[hurd] 03/06: Add get_source support to firmlink |
Date: |
Wed, 16 Mar 2016 01:36:35 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit a6212e46e22cdac68b7b9fea0cc04b240c0a4cb8
Author: Samuel Thibault <address@hidden>
Date: Tue Mar 15 22:13:15 2016 +0100
Add get_source support to firmlink
* trans/firmlink.c (trivfs_get_source): New function.
---
trans/firmlink.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/trans/firmlink.c b/trans/firmlink.c
index 69d4aae..19382f1 100644
--- a/trans/firmlink.c
+++ b/trans/firmlink.c
@@ -286,3 +286,11 @@ trivfs_S_io_select_timeout (struct trivfs_protid *cred,
{
return trivfs_S_io_select (cred, reply, reply_type, type);
}
+
+error_t trivfs_get_source (struct trivfs_protid *cred,
+ char *source, size_t source_len)
+{
+ strncpy (source, target, source_len - 1);
+ source[source_len -1 ] = '\0';
+ return 0;
+}
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] branch upstream updated (77b1fce -> a2cfb67), Samuel Thibault, 2016/03/15
- [hurd] 04/06: Show firmlink mounts to mount points, Samuel Thibault, 2016/03/15
- [hurd] 03/06: Add get_source support to firmlink,
Samuel Thibault <=
- [hurd] 02/06: ext2fs: Fix adding blocks to free blocks cache, Samuel Thibault, 2016/03/15
- [hurd] 06/06: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurd into upstream, Samuel Thibault, 2016/03/15
- [hurd] 01/06: Add missing RPC definitions, Samuel Thibault, 2016/03/15
- [hurd] 05/06: Add getting swap information from swapon and procfs, Samuel Thibault, 2016/03/15