"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mandocd.c" between
mdocml-1.14.1rc1.tar.gz and mdocml-1.14.1rc2.tar.gz

About: mdocml is a suite of tools compiling "-mdoc", the roff macro package of choice for BSD manual pages, and "-man", the predominant historical package for UNIX manuals. Hint: The installed binary name is "mandoc". Release candidate.

mandocd.c  (mdocml-1.14.1rc1):mandocd.c  (mdocml-1.14.1rc2)
/* $Id: mandocd.c,v 1.4 2017/02/08 16:11:41 schwarze Exp $ */ /* $Id: mandocd.c,v 1.5 2017/02/17 14:31:52 schwarze Exp $ */
/* /*
* Copyright (c) 2017 Michael Stapelberg <stapelberg@debian.org> * Copyright (c) 2017 Michael Stapelberg <stapelberg@debian.org>
* Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> * Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org>
* *
* Permission to use, copy, modify, and distribute this software for any * Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies. * copyright notice and this permission notice appear in all copies.
* *
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
skipping to change at line 52 skipping to change at line 52
#include "manconf.h" #include "manconf.h"
enum outt { enum outt {
OUTT_ASCII = 0, OUTT_ASCII = 0,
OUTT_UTF8, OUTT_UTF8,
OUTT_HTML OUTT_HTML
}; };
static void process(struct mparse *, enum outt, void *); static void process(struct mparse *, enum outt, void *);
static int read_fds(int, int *); static int read_fds(int, int *);
static void usage(void) __attribute__((noreturn)); static void usage(void) __attribute__((__noreturn__));
#define NUM_FDS 3 #define NUM_FDS 3
static int static int
read_fds(int clientfd, int *fds) read_fds(int clientfd, int *fds)
{ {
struct msghdr msg; struct msghdr msg;
struct iovec iov[1]; struct iovec iov[1];
unsigned char dummy[1]; unsigned char dummy[1];
struct cmsghdr *cmsg; struct cmsghdr *cmsg;
int *walk; int *walk;
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS