From: Tobias Geerinckx-Rice Date: Thu, 16 Aug 2018 21:12:30 +0200 Subject: extundelete: Fix build with e2fsprogs 1.44. The ‘inode.i_file_acl’ field was replaced with ‘inode.i_size_high’. I'm not sure the field name is still accurate or useful, so don't print it at all. Based on this[0] patch by ‘conikost’[1]. [0]: https://sourceforge.net/p/extundelete/tickets/5/ [1]: https://sourceforge.net/u/conikost --- a/src/insertionops.cc 2012-12-30 18:23:32.000000000 +0100 +++ b/src/insertionops.cc 2018-05-07 22:58:13.065868723 +0200 @@ -33,7 +33,6 @@ os << "File flags: " << inode.i_flags << std::endl; os << "File version (for NFS): " << inode.i_generation << std::endl; os << "File ACL: " << inode.i_file_acl << std::endl; - os << "Directory ACL: " << inode.i_dir_acl << std::endl; os << "Fragment address: " << inode.i_faddr << std::endl; os << "Direct blocks: "; for (int n = 0; n < EXT2_NDIR_BLOCKS; n++) class='sub right'>
aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/getmail.scm
AgeCommit message (Expand)Author
2022-12-02records: 'match-record' checks fields at macro-expansion time....This allows 'match-record' to be more efficient (field offsets are computed at compilation time) and to report unknown fields at macro-expansion time. * guix/records.scm (map-fields): New macro. (define-record-type*)[rtd-identifier]: New procedure. Define TYPE as a macro and use a separate identifier for the RTD. (lookup-field, match-record-inner): New macros. (match-record): Rewrite in terms of 'match-error-inner'. * tests/records.scm ("match-record, simple") ("match-record, unknown field"): New tests. * gnu/services/cuirass.scm (cuirass-shepherd-service): Rename 'log-file' local variable to 'main-log-file'. * gnu/services/getmail.scm (serialize-getmail-configuration-file): Move after <getmail-configuration-file> definition. Ludovic Courtès
2022-11-17services: getmail: Use 'match-record'....Fixes a regression introduced in 44554e7133aa60e1b453436be1e80394189cabd9 whereby the wrong record fields would be accessed, leading to a <location> record being spliced in the result. * gnu/services/getmail.scm (serialize-getmail-configuration-file): Use 'match-record' instead of 'match'. (getmail-shepherd-services): Likewise. Ludovic Courtès