Ignore:
Timestamp:
Jun 20, 2012, 12:44:52 AM (13 years ago)
Author:
bird
Message:

gnumake/current -> 3.82-cvs.

Location:
vendor/gnumake/current
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vendor/gnumake/current

    • Property svn:ignore deleted
  • vendor/gnumake/current/vmsfunctions.c

    r1989 r2596  
    11/* VMS functions
    22Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
    3 2007 Free Software Foundation, Inc.
     32007, 2008, 2009, 2010 Free Software Foundation, Inc.
    44This file is part of GNU Make.
    55
     
    3535opendir (char *dspec)
    3636{
    37   struct DIR *dir  = (struct DIR *)xmalloc (sizeof (struct DIR));
    38   struct NAM *dnam = (struct NAM *)xmalloc (sizeof (struct NAM));
     37  struct DIR *dir  = xcalloc (sizeof (struct DIR));
     38  struct NAM *dnam = xmalloc (sizeof (struct NAM));
    3939  struct FAB *dfab = &dir->fab;
    4040  char *searchspec = xmalloc (MAXNAMLEN + 1);
    41 
    42   memset (dir, 0, sizeof *dir);
    4341
    4442  *dfab = cc$rms_fab;
     
    9290  if (!((i = sys$search (dfab)) & 1))
    9391    {
    94       DB (DB_VERBOSE, (_("sys$search failed with %d\n"), i));
     92      DB (DB_VERBOSE, (_("sys$search() failed with %d\n"), i));
    9593      return (NULL);
    9694    }
     
    142140}
    143141
     142#if 0
     143/*
     144 * Is this used? I don't see any reference, so I suggest to remove it.
     145 */
    144146int
    145147vms_stat (char *name, struct stat *buf)
     
    238240  return 0;
    239241}
     242#endif
    240243
    241244char *
Note: See TracChangeset for help on using the changeset viewer.