mandoc_aux.c (01d4e2149e5566e5d9394913dc9fb032da259e0b) | mandoc_aux.c (c1c95add8c80843ba15d784f95c361d795b1f593) |
---|---|
1/* $Id: mandoc_aux.c,v 1.11 2018/02/07 20:04:57 schwarze Exp $ */ | 1/* $Id: mandoc_aux.c,v 1.12 2022/04/14 16:43:44 schwarze Exp $ */ |
2/* | 2/* |
3 * Copyright (c) 2014, 2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org> |
|
3 * Copyright (c) 2009, 2011 Kristaps Dzonsons <kristaps@bsd.lv> | 4 * Copyright (c) 2009, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
4 * Copyright (c) 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org> | |
5 * 6 * Permission to use, copy, modify, and distribute this software for any 7 * purpose with or without fee is hereby granted, provided that the above 8 * copyright notice and this permission notice appear in all copies. 9 * 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES 11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR --- 9 unchanged lines hidden (view full) --- 22#if HAVE_ERR 23#include <err.h> 24#endif 25#include <stdarg.h> 26#include <stdlib.h> 27#include <stdio.h> 28#include <string.h> 29 | 5 * 6 * Permission to use, copy, modify, and distribute this software for any 7 * purpose with or without fee is hereby granted, provided that the above 8 * copyright notice and this permission notice appear in all copies. 9 * 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES 11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR --- 9 unchanged lines hidden (view full) --- 22#if HAVE_ERR 23#include <err.h> 24#endif 25#include <stdarg.h> 26#include <stdlib.h> 27#include <stdio.h> 28#include <string.h> 29 |
30#define DEBUG_NODEF 1 |
|
30#include "mandoc.h" 31#include "mandoc_aux.h" 32 33 34int 35mandoc_asprintf(char **dest, const char *fmt, ...) 36{ 37 va_list ap; --- 81 unchanged lines hidden --- | 31#include "mandoc.h" 32#include "mandoc_aux.h" 33 34 35int 36mandoc_asprintf(char **dest, const char *fmt, ...) 37{ 38 va_list ap; --- 81 unchanged lines hidden --- |