SMOLNET PORTAL home about changes
ion mmap failure show on which file it failed - catpoint - Catpoint simple presenting software.	Err	bitreich.org	70
hgit clone git://bitreich.org/catpoint/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/catpoint/	URL:git://bitreich.org/catpoint/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/catpoint/	bitreich.org	70
1Log	/scm/catpoint/log.gph	bitreich.org	70
1Files	/scm/catpoint/files.gph	bitreich.org	70
1Refs	/scm/catpoint/refs.gph	bitreich.org	70
1Tags	/scm/catpoint/tag	bitreich.org	70
1README	/scm/catpoint/file/README.md.gph	bitreich.org	70
1LICENSE	/scm/catpoint/file/LICENSE.gph	bitreich.org	70
i---	Err	bitreich.org	70
1commit e8f0e9f302546f8844785b2674f9c3fd4fc6a4b2	/scm/catpoint/commit/e8f0e9f302546f8844785b2674f9c3fd4fc6a4b2.gph	bitreich.org	70
1parent dda57f5fe894543b4ccbb5f0aee5302adfdbb5b0	/scm/catpoint/commit/dda57f5fe894543b4ccbb5f0aee5302adfdbb5b0.gph	bitreich.org	70
hAuthor: Hiltjo Posthuma <hiltjo@codemadness.org>	URL:mailto:hiltjo@codemadness.org	bitreich.org	70
iDate:   Sat, 29 May 2021 17:51:18 +0200	Err	bitreich.org	70
i	Err	bitreich.org	70
ion mmap failure show on which file it failed	Err	bitreich.org	70
i	Err	bitreich.org	70
iSigned-off-by: Christoph Lohmann <20h@r-36.net>	Err	bitreich.org	70
i	Err	bitreich.org	70
iDiffstat:	Err	bitreich.org	70
i  M catpoint.c                          |       2 +-	Err	bitreich.org	70
i	Err	bitreich.org	70
i1 file changed, 1 insertion(+), 1 deletion(-)	Err	bitreich.org	70
i---	Err	bitreich.org	70
1diff --git a/catpoint.c b/catpoint.c	/scm/catpoint/file/catpoint.c.gph	bitreich.org	70
i@@ -53,7 +53,7 @@ loadcurrentslide(char **argv, int slide)	Err	bitreich.org	70
i                 err(1, "fstat: %s", slidefiles[slide]);	Err	bitreich.org	70
i         currentslidep = mmap(NULL, statbuf.st_size, PROT_READ, MAP_PRIVATE, fd, 0);	Err	bitreich.org	70
i         if (currentslidep == MAP_FAILED)	Err	bitreich.org	70
i-                err(1, "mmap");	Err	bitreich.org	70
i+                err(1, "mmap: %s", slidefiles[slide]);	Err	bitreich.org	70
i         currentslidelen = statbuf.st_size;	Err	bitreich.org	70
i         close(fd);	Err	bitreich.org	70
i }	Err	bitreich.org	70
.
Response: text/plain
Original URLgopher://bitreich.org/0/scm/catpoint/commit/e8f0e9f302546...
Content-Typetext/plain; charset=utf-8