[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/oldXMenu/XCrAssoc.c
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/oldXMenu/XCrAssoc.c |
Date: |
Fri, 04 Apr 2003 01:23:43 -0500 |
Index: emacs/oldXMenu/XCrAssoc.c
diff -c emacs/oldXMenu/XCrAssoc.c:1.1 emacs/oldXMenu/XCrAssoc.c:1.2
*** emacs/oldXMenu/XCrAssoc.c:1.1 Sun Oct 3 15:35:17 1999
--- emacs/oldXMenu/XCrAssoc.c Tue Feb 4 09:19:01 2003
***************
*** 37,50 ****
register XAssocTable *table; /* XAssocTable to be initialized. */
register XAssoc *buckets; /* Pointer to the first bucket in */
/* the bucket array. */
!
/* Malloc the XAssocTable. */
if ((table = (XAssocTable *)malloc(sizeof(XAssocTable))) == NULL) {
/* malloc call failed! */
errno = ENOMEM;
return(NULL);
}
!
/* calloc the buckets (actually just their headers). */
buckets = (XAssoc *)calloc((unsigned)size, (unsigned)sizeof(XAssoc));
if (buckets == NULL) {
--- 37,50 ----
register XAssocTable *table; /* XAssocTable to be initialized. */
register XAssoc *buckets; /* Pointer to the first bucket in */
/* the bucket array. */
!
/* Malloc the XAssocTable. */
if ((table = (XAssocTable *)malloc(sizeof(XAssocTable))) == NULL) {
/* malloc call failed! */
errno = ENOMEM;
return(NULL);
}
!
/* calloc the buckets (actually just their headers). */
buckets = (XAssoc *)calloc((unsigned)size, (unsigned)sizeof(XAssoc));
if (buckets == NULL) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/oldXMenu/XCrAssoc.c,
Miles Bader <=