Disable -Werror=nonnull on getcwd(0, 4096) because GCC incorrectly warns that the second argument should be NULL with recent glibc. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96832 https://sourceware.org/bugzilla/show_bug.cgi?id=26545 diff --git a/nss/coreconf/nsinstall/nsinstall.c b/nss/coreconf/nsinstall/nsinstall.c --- a/nss/coreconf/nsinstall/nsinstall.c +++ b/nss/coreconf/nsinstall/nsinstall.c @@ -236,14 +236,20 @@ main(int argc, char **argv) return 0; if (!cwd) { +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wnonnull" cwd = GETCWD(0, PATH_MAX); +#pragma GCC diagnostic pop if (!cwd) fail("could not get CWD"); } /* make sure we can get into todir. */ xchdir(todir); +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wnonnull" todir = GETCWD(0, PATH_MAX); +#pragma GCC diagnostic pop if (!todir) fail("could not get CWD in todir"); tdlen = strlen(todir); >Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/README
AgeCommit message (Collapse)Author
2021-05-20The #guix channel is hosted by Libera Chat.Tobias Geerinckx-Rice
* README (Contact): Update network name. * ROADMAP: Likewise. * doc/contributing.texi (Contributing): Likewise. * doc/guix.texi (After System Installation): Likewise.
2020-10-23doc: Update README.Maxim Cournoyer
* README (Installation): Do not mention installing Guix from Git anymore. (Building from Git): Add section.
2020-10-22README: Refer to the manual for building from Git.Maxim Cournoyer
* README (Installing Guix from Guix): Remove section. (Installation): For installing from Git, refer to the "Building from Git" section of the manual and suggest using './pre-inst-env guix pull' rather than 'make install' for installing Guix.
2020-06-02doc: Update README to refer to the manual.Ludovic Courtès
* README (Requirements): Refer to the manual. (Installation): Update URL of the manual.