commit-hurd
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]