diff options
Diffstat (limited to 'Build/source/texk/makeindexk/scanid.c')
-rw-r--r-- | Build/source/texk/makeindexk/scanid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/makeindexk/scanid.c b/Build/source/texk/makeindexk/scanid.c index 1c126933cc8..ccb1bbd4342 100644 --- a/Build/source/texk/makeindexk/scanid.c +++ b/Build/source/texk/makeindexk/scanid.c @@ -184,7 +184,7 @@ make_key(void) if ((ptr = malloc(len)) == NULL) fprintf (stderr, "Not enough core...abort.\n"); - bzero(ptr, len); + memset(ptr, 0, len); /* Initialize dangling pointers * Note: it would be a nice work to redesign the code to use NULL for * comparision ... nevertheless, using local "" in a global environment @@ -242,7 +242,7 @@ make_string(char **ppstr, int n) (*ppstr) = malloc(n); if (!(*ppstr)) fprintf (stderr, "Not enough core...abort.\n"); - bzero(*ppstr, n); /* Always zero anything, <werner@suse.de> */ + memset(*ppstr, 0, n); /* Always zero anything, <werner@suse.de> */ } static int |