[BACK]Return to out.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/out.c between version 1.10 and 1.12

version 1.10, 2009/11/08 09:23:35 version 1.12, 2010/01/01 17:14:30
Line 14 
Line 14 
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
   #ifdef HAVE_CONFIG_H
   #include "config.h"
   #endif
   
 #include <sys/types.h>  #include <sys/types.h>
   
 #include <assert.h>  #include <assert.h>
Line 45 
Line 49 
                 (t) = 3; } \                  (t) = 3; } \
         while (/* CONSTCOND */ 0)          while (/* CONSTCOND */ 0)
   
 #ifdef __linux__  
 extern  size_t    strlcat(char *, const char *, size_t);  
 #endif  
   
 /*  /*
  * Convert a `scaling unit' to a consistent form, or fail.  Scaling   * Convert a `scaling unit' to a consistent form, or fail.  Scaling
  * units are documented in groff.7, mdoc.7, man.7.   * units are documented in groff.7, mdoc.7, man.7.
Line 330  a2roffdeco(enum roffdeco *d,
Line 330  a2roffdeco(enum roffdeco *d,
   
         case ('['):          case ('['):
                 break;                  break;
   
           case ('c'):
                   *d = DECO_NOSPACE;
                   *sz = 1;
                   return(1);
   
         default:          default:
                 *d = DECO_SPECIAL;                  *d = DECO_SPECIAL;

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.12

CVSweb