[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/71: syscalls: statfs: Add missing 'mount-flags' field of 'struct stat
From: |
??? |
Subject: |
01/71: syscalls: statfs: Add missing 'mount-flags' field of 'struct statfs'. |
Date: |
Mon, 02 May 2016 14:08:15 +0000 |
iyzsong pushed a commit to branch gnome-updates
in repository guix.
commit e19eb93b8564a5c76ae71878e815ccfa75d62325
Author: Ludovic Courtès <address@hidden>
Date: Sat Apr 30 23:30:56 2016 +0200
syscalls: statfs: Add missing 'mount-flags' field of 'struct statfs'.
* guix/build/syscalls.scm (<file-system>)[mount-flags]: New field.
[spare2]: Remove.
(%statfs): Likewise.
---
guix/build/syscalls.scm | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm
index 6cdf653..a85f865 100644
--- a/guix/build/syscalls.scm
+++ b/guix/build/syscalls.scm
@@ -59,6 +59,7 @@
file-system-identifier
file-system-maximum-name-length
file-system-fragment-size
+ file-system-mount-flags
statfs
processes
@@ -475,8 +476,7 @@ string TMPL and return its file name. TMPL must end with
'XXXXXX'."
(define-record-type <file-system>
(file-system type block-size blocks blocks-free
blocks-available files free-files identifier
- name-length fragment-size
- spare0 spare1 spare2)
+ name-length fragment-size mount-flags spare0 spare1)
file-system?
(type file-system-type)
(block-size file-system-block-size)
@@ -488,14 +488,14 @@ string TMPL and return its file name. TMPL must end with
'XXXXXX'."
(identifier file-system-identifier)
(name-length file-system-maximum-name-length)
(fragment-size file-system-fragment-size)
+ (mount-flags file-system-mount-flags)
(spare0 file-system--spare0)
- (spare1 file-system--spare1)
- (spare2 file-system--spare2))
+ (spare1 file-system--spare1))
(define-syntax fsword ;fsword_t
(identifier-syntax long))
-(define-c-struct %statfs
+(define-c-struct %statfs ;<bits/statfs.h>
sizeof-statfs ;slightly overestimated
file-system
read-statfs
@@ -510,9 +510,9 @@ string TMPL and return its file name. TMPL must end with
'XXXXXX'."
(identifier uint64) ;really "int[2]"
(name-length fsword)
(fragment-size fsword)
+ (mount-flags fsword)
(spare0 int128) ;really "fsword[4]"
- (spare1 int128)
- (spare2 int64)) ;XXX: to match array alignment
+ (spare1 int128))
(define statfs
(let ((proc (syscall->procedure int "statfs" '(* *))))
- branch gnome-updates created (now ad1b7d8), ???, 2016/05/02
- 02/71: syscalls: 'statfs' explicitly binds 'statfs64'., ???, 2016/05/02
- 01/71: syscalls: statfs: Add missing 'mount-flags' field of 'struct statfs'.,
??? <=
- 03/71: gnu: bootstrap: Add case for i686-mingw., ???, 2016/05/02
- 18/71: Revert "Revert "gnu: geoclue: Update to 2.4.3."", ???, 2016/05/02
- 05/71: gnu: ao: Replace "itemize" with "enumerate" in description string., ???, 2016/05/02
- 04/71: gnu: ao: Format the description string., ???, 2016/05/02
- 19/71: Revert "Revert "gnu: gjs: Skip test_utf8_inout test."", ???, 2016/05/02
- 20/71: gnu: gedit: Fix build by passing '--disable-spell'., ???, 2016/05/02
- 21/71: gnu: gtkmm: Run Xvfb for tests., ???, 2016/05/02
- 23/71: gnu: at-spi2-core: Update to 2.20.1., ???, 2016/05/02
- 29/71: gnu: vte: Update to 0.44.1., ???, 2016/05/02
- 25/71: gnu: gtk+: Update to 3.20.3., ???, 2016/05/02