{
while ((link_len = readlink(link_file_name, link_path, MAX_PATH)) > 0)
{
- link_path[link_len-1] = 0;
+ link_path[link_len] = '\0';
link_list = (char **)XtRealloc((char *)link_list, sizeof(char *) *
(link_count + 2));
{
while ((link_len = readlink(link_file_name, link_path, MAX_PATH)) > 0)
{
- link_path[link_len - 1] = 0;
+ link_path[link_len] = NILL;
link_list = (char **)XtRealloc((char *)link_list, sizeof(char *) *
(link_count + 2));
while ((link_len = readlink(file, link_path, MAXPATHLEN)) > 0)
{
- link_path[link_len-1] = 0;
+ link_path[link_len] = '\0';
/* Force the link to be an absolute path, if necessary */
if (link_path[0] != '/')