diff options
author | ru <ru@FreeBSD.org> | 2001-07-10 17:10:51 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-07-10 17:10:51 +0000 |
commit | 3c0c4f5ed4e8752fdc391c89a84ec52390beb4f9 (patch) | |
tree | df2ff30d8f82ae3cd5d1af82aabbb4ac9ea64067 /contrib/groff/src | |
parent | 509648687568379aa73928b01295f92b31f340d0 (diff) | |
download | FreeBSD-src-3c0c4f5ed4e8752fdc391c89a84ec52390beb4f9.zip FreeBSD-src-3c0c4f5ed4e8752fdc391c89a84ec52390beb4f9.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r79546,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/groff/src')
-rw-r--r-- | contrib/groff/src/devices/grohtml/html-chars.h | 27 | ||||
-rw-r--r-- | contrib/groff/src/utils/indxbib/dirnamemax.c | 49 |
2 files changed, 0 insertions, 76 deletions
diff --git a/contrib/groff/src/devices/grohtml/html-chars.h b/contrib/groff/src/devices/grohtml/html-chars.h deleted file mode 100644 index f58f8dc..0000000 --- a/contrib/groff/src/devices/grohtml/html-chars.h +++ /dev/null @@ -1,27 +0,0 @@ -// -*- C++ -*- -/* Copyright (C) 2000, 2001 Free Software Foundation, Inc. - * - * Gaius Mulley (gaius@glam.ac.uk) wrote output.cc - * but it owes a huge amount of ideas and raw code from - * James Clark (jjc@jclark.com) grops/ps.cc. - * - * html-chars.h - * - * provides a diacritical character combination table for html - */ - - - -struct diacritical_desc { - char *mark; - char *second_troff_char; - char translation; -}; - - -static struct diacritical_desc diacritical_table[] = { - { "ad" , "aeiouyAEIOU" , ':' , }, /* */ - { "ac" , "cC" , ',' , }, /* cedilla */ - { "aa" , "aeiouyAEIOU" , '\'' , }, /* acute */ - { NULL , NULL , (char)0, }, -}; diff --git a/contrib/groff/src/utils/indxbib/dirnamemax.c b/contrib/groff/src/utils/indxbib/dirnamemax.c deleted file mode 100644 index a8cd992..0000000 --- a/contrib/groff/src/utils/indxbib/dirnamemax.c +++ /dev/null @@ -1,49 +0,0 @@ -/* dir_name_max(dir) does the same as pathconf(dir, _PC_NAME_MAX) */ - -#include <sys/types.h> - -#ifdef HAVE_UNISTD_H -#include <unistd.h> -#endif /* HAVE_UNISTD_H */ - -#ifdef _POSIX_VERSION - -long dir_name_max(dir) - char *dir; -{ - return pathconf(dir, _PC_NAME_MAX); -} - -#else /* not _POSIX_VERSION */ - -#ifdef HAVE_LIMITS_H -#include <limits.h> -#endif /* HAVE_LIMITS_H */ - -#ifdef HAVE_DIRENT_H -#include <dirent.h> -#else /* not HAVE_DIRENT_H */ -#ifdef HAVE_SYS_DIR_H -#include <sys/dir.h> -#endif /* HAVE_SYS_DIR_H */ -#endif /* not HAVE_DIRENT_H */ - -#ifndef NAME_MAX -#ifdef MAXNAMLEN -#define NAME_MAX MAXNAMLEN -#else /* !MAXNAMLEN */ -#ifdef MAXNAMELEN -#define NAME_MAX MAXNAMELEN -#else /* !MAXNAMELEN */ -#define NAME_MAX 14 -#endif /* !MAXNAMELEN */ -#endif /* !MAXNAMLEN */ -#endif /* !NAME_MAX */ - -long dir_name_max(dir) - char *dir; -{ - return NAME_MAX; -} - -#endif /* not _POSIX_VERSION */ |