]> git.pld-linux.org Git - packages/e2salvage.git/commitdiff
- updated
authorareq <areq@pld-linux.org>
Sat, 13 Mar 2004 21:01:31 +0000 (21:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    e2salvage-BLKGETSIZE64.patch -> 1.2

e2salvage-BLKGETSIZE64.patch

index 446253e1d97c1eb316da7d73f9167bfbf7b365e4..a48d478fa3d476de197077cb3fafbb9254809258 100644 (file)
@@ -1,11 +1,27 @@
---- e2salvage-0.0.8a/src/main.c~       2003-10-07 20:49:37.000000000 +0000
-+++ e2salvage-0.0.8a/src/main.c        2003-10-16 11:07:40.000000000 +0000
-@@ -10,6 +10,8 @@
- #include <linux/hdreg.h>
- #include <time.h>
+diff -Nur e2salvage-0.0.8a.orig/src/main.c e2salvage-0.0.8a/src/main.c
+--- e2salvage-0.0.8a.orig/src/main.c   2003-10-07 20:49:37.000000000 +0000
++++ e2salvage-0.0.8a/src/main.c        2004-03-13 20:56:16.000000000 +0000
+@@ -42,7 +42,7 @@
+       long sb_auto_find = -1;
+       
+       struct hd_geometry geo;
+-      struct hd_big_geometry geob;
++      struct hd_geometry geob;
+       struct stat st;
+       unsigned long tmp;
  
-+#define BLKGETSIZE64 _IOR(0x12,114,sizeof(u64))
+diff -Nur e2salvage-0.0.8a.orig/src/main.h e2salvage-0.0.8a/src/main.h
+--- e2salvage-0.0.8a.orig/src/main.h   2003-10-07 20:49:37.000000000 +0000
++++ e2salvage-0.0.8a/src/main.h        2004-03-13 20:54:47.000000000 +0000
+@@ -2,7 +2,10 @@
+ #define _MAIN_H
+ #include <linux/fs.h>
+-#include <sys/types.h>
++#include <linux/types.h>
++
 +
- /* here is a dirty i386 linux workaround */
- typedef unsigned long long u64;
++#define HDIO_GETGEO_BIG                0x0330
  
+ extern unsigned long blocksize;
+ extern unsigned long nr_blocks;
This page took 0.066515 seconds and 4 git commands to generate.