bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Misuse of index in texinfo-4.7


From: Prof Brian Ripley
Subject: Misuse of index in texinfo-4.7
Date: Mon, 2 Aug 2004 12:47:36 +0100 (BST)

texinfo-4.7 has added in makeinfo/cmds.c line 673

  if (description[0] != '{' && index (description, ',') != NULL)

Now index is a BSDism but not ISO C and it is not tested for at
configure time. The equivalent strchr *is* ISO C.

This stops compilation under the MinGW environment for Windows unless
index is replaced by strchr.  Please use ISO C where available and test 
where not.

-- 
Brian D. Ripley,                  address@hidden
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595





reply via email to

[Prev in Thread] Current Thread [Next in Thread]