SOURCES: device-mapper-klibc.patch - 1.02.17

areq areq at pld-linux.org
Sun Feb 4 16:15:19 CET 2007


Author: areq                         Date: Sun Feb  4 15:15:19 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- 1.02.17

---- Files affected:
SOURCES:
   device-mapper-klibc.patch (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SOURCES/device-mapper-klibc.patch
diff -u SOURCES/device-mapper-klibc.patch:1.6 SOURCES/device-mapper-klibc.patch:1.7
--- SOURCES/device-mapper-klibc.patch:1.6	Wed Sep 27 20:26:18 2006
+++ SOURCES/device-mapper-klibc.patch	Sun Feb  4 16:15:14 2007
@@ -91,7 +91,7 @@
  			if (!strcmp(name, nm)) {
  				if (number) {
  					*number = num;
-@@ -154,10 +162,8 @@
+@@ -155,10 +163,9 @@
  				}
  				dm_bit_set(_dm_bitset, num);
  			}
@@ -99,11 +99,12 @@
 -			c = fgetc(fl);
 -		} while (c != EOF && c != '\n');
 -	}
-+		}
++	        }
 +	} while (size > 0);
- 	fclose(fl);
++	
+ 	if (fclose(fl))
+ 		log_error("%s: fclose failed: %s", file, strerror(errno));
  
- 	if (number) {
 --- device-mapper.1.02.09.orig/lib/libdm-file.c	2006-05-10 16:23:41.000000000 +0000
 +++ device-mapper.1.02.09.klibc/lib/libdm-file.c	2006-09-27 18:22:22.000000000 +0000
 @@ -16,10 +16,16 @@
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/device-mapper-klibc.patch?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list