[Glibc-bsd-commits] r1768 - in trunk: glibc-2.3-head/sysdeps/kfreebsd glibc-ports/kfreebsd web

Petr Salinger ps-guest at alioth.debian.org
Tue Dec 5 12:08:13 CET 2006


Author: ps-guest
Date: 2006-12-05 12:08:12 +0100 (Tue, 05 Dec 2006)
New Revision: 1768

Modified:
   trunk/glibc-2.3-head/sysdeps/kfreebsd/ustat.c
   trunk/glibc-ports/kfreebsd/ustat.c
   trunk/web/NOTES
Log:
* fix glibc - memory allocated by getmntinfo() cannot be free(3)'d by the application.
  breaks apcalc



Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/ustat.c
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/ustat.c	2006-12-04 22:48:10 UTC (rev 1767)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/ustat.c	2006-12-05 11:08:12 UTC (rev 1768)
@@ -55,13 +55,9 @@
 	      memset (ubuf, '\0', sizeof (struct ustat));
 	      ubuf->f_tfree = mnt->f_bfree;
 	      ubuf->f_tinode = mnt->f_ffree;
-
-	      free (mntlist);
 	      return 0;
 	    }
 	}
-
-      free (mntlist);
     }
 
   /* DEV is not among the mounted devices.  */

Modified: trunk/glibc-ports/kfreebsd/ustat.c
===================================================================
--- trunk/glibc-ports/kfreebsd/ustat.c	2006-12-04 22:48:10 UTC (rev 1767)
+++ trunk/glibc-ports/kfreebsd/ustat.c	2006-12-05 11:08:12 UTC (rev 1768)
@@ -55,13 +55,9 @@
 	      memset (ubuf, '\0', sizeof (struct ustat));
 	      ubuf->f_tfree = mnt->f_bfree;
 	      ubuf->f_tinode = mnt->f_ffree;
-
-	      free (mntlist);
 	      return 0;
 	    }
 	}
-
-      free (mntlist);
     }
 
   /* DEV is not among the mounted devices.  */

Modified: trunk/web/NOTES
===================================================================
--- trunk/web/NOTES	2006-12-04 22:48:10 UTC (rev 1767)
+++ trunk/web/NOTES	2006-12-05 11:08:12 UTC (rev 1768)
@@ -178,16 +178,16 @@
 adonthell                   0.3.4.cvs.20050813-2.3+b1  0.3.4.cvs.20050813-2.4.dsc 
 alltraxclock                    2.0.2-0                2.0.2-1.dsc 
 amsn                            0.95-2                 0.95+dfsg1-0.1.dsc 
-apcalc                          2.11.11-1              2.12.1.5-1.dsc 
+apcalc                          2.11.11-1              2.12.1.5-1.dsc		needs fixed glibc
 apt-rpm                         0.5.15cnc6-7           0.5.15lorg3.2-1.dsc 	b-d newer rpm
 argus                           2.0.6.fixes.1-11       1:2.0.6.fixes.1-12.dsc 
 asterisk-spandsp-plugins        0.0.20050227-1         0.0.20060218-2.dsc 
 atftp                           0.7-11                 0.7.dfsg-1.dsc 
 beast                           0.6.6-5                0.6.6-7.dsc 
 bitpim                          0.8.08.dfsg.2-3        0.9.08.dfsg.1-1.dsc 
-blender                         2.42a-4                2.42a-5.dsc 
+blender                         2.42a-4                2.42a-5.dsc 		just rebuild
 boxes                           1.0.1-4.1              1.0.1a-2.1.dsc 
-bubblemon                       2.0.5-1                2.0.5-2.dsc 
+bubblemon                       2.0.5-1                2.0.5-2.dsc 		just rebuild
 buffer                          1.19-7                 1.19-8.dsc 
 checkpolicy                     1.24-2                 1.32-1.dsc 
 clisp                           2.38-7                 1:2.41-1.dsc 




More information about the Glibc-bsd-commits mailing list