File: o

package info (click to toggle)
fda 1.0-3
  • links: PTS
  • area: main
  • in suites: potato, woody
  • size: 96 kB
  • ctags: 74
  • sloc: ansic: 501; makefile: 47
file content (125 lines) | stat: -rw-r--r-- 4,564 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125

                        Debian bug report logs - #26312
                   fda: non-maintainer upload (alpha) diffs
                                       
   Package: fda; Reported by: Paul Slootman <paul@wurtel.demon.nl>; dated
   Tue, 1 Sep 1998 20:48:05 GMT; Maintainer for fda is Johnie Ingram
   <johnie@debian.org>.
     _________________________________________________________________
   
Message received at submit@bugs.debian.org:

Received: (at submit) by bugs.debian.org; 1 Sep 1998 20:39:14 +0000
Received: (qmail 22349 invoked from network); 1 Sep 1998 20:39:12 -0000
Received: from post-10.mail.nl.demon.net (HELO post.mail.nl.demon.net) (194.159
.73.20)
  by debian.novare.net with SMTP; 1 Sep 1998 20:39:12 -0000
Received: from (alf.toecompst.nl) [194.159.224.75]
        by post.mail.nl.demon.net with smtp (Exim 1.82 #2)
        id 0zDxCn-0003AF-00; Tue, 1 Sep 1998 22:39:09 +0200
Received: from paul by alf.toecompst.nl with local (Exim 2.02 #1 (Debian))
        id 0zDxC5-00082O-00; Tue, 1 Sep 1998 22:38:25 +0200
Message-ID: <19980901223825.A30896@wurtel.demon.nl>
Date: Tue, 1 Sep 1998 22:38:25 +0200
From: Paul Slootman <paul@wurtel.demon.nl>
To: submit@bugs.debian.org
Bcc: paul@wau.mis.ah.nl
Subject: fda: non-maintainer upload (alpha) diffs
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2

Package: fda
Version: 1.0-1

Yet Another HardCoded i386 architecture...

The control file has only i386 as possible architecture. Is this based on
a limitation of the package (which I couldn't find in the docs) ?

Furthermore, a couple of patches to suppress warnings about a wrong
printf() format for size_t (size_t is long), and the Makefile had no
dependencies for fdatest.

Thanks,
Paul Slootman

diff -ru fda-1.0/debian/changelog fda-1.0/debian/changelog
--- fda-1.0/debian/changelog        Tue Sep  1 21:51:13 1998
+++ fda-1.0/debian/changelog    Tue Sep  1 21:50:28 1998
@@ -1,3 +1,13 @@
+fda (1.0-1.1) unstable; urgency=low
+
+  * non-maintainer upload (binary-only) for Alpha
+  * changed `i386' architecture to `any' so that building it was possible
+  * changed %d printf format to %ld, and cast size_t to long (on Alpha it _is_
+    a long)
+  * fixed Makefile so that dependencies work
+
+ -- Paul Slootman <paul@debian.org>  Tue,  1 Sep 1998 21:32:54 +0200
+
diff -u fda-1.0/Makefile fda-1.0/Makefile
--- fda-1.0/Makefile        Sun Apr 19 09:43:23 1998
+++ fda-1.0/Makefile    Tue Sep  1 21:48:35 1998
@@ -1,7 +1,7 @@
 # makefile for fdatest program
 all: fdatest

-fdatest:
+fdatest: fdatest.c fda.h
        gcc -Wall -DDEBUG -o fdatest fdatest.c fda.c
 clean:
        @rm -f fdatest core
 fda (1.0-1) unstable; urgency=low

   * Initial Release.
diff -u fda-1.0/debian/control fda-1.0/debian/control
--- fda-1.0/debian/control  Tue Sep  1 21:51:13 1998
+++ fda-1.0/debian/control      Tue Sep  1 21:46:32 1998
@@ -5,7 +5,7 @@
 Standards-Version: 2.4.1.0

 Package: fda
-Architecture: i386
+Architecture: any
 Depends: ${shlibs:Depends}
 Description: C malloc debug library
  Provides routines that can be plugged in to replace malloc(),
diff -ru fda-1.0/fdatest.c fda-1.0/fdatest.c
--- fda-1.0/fdatest.c       Sun Apr 19 09:37:19 1998
+++ fda-1.0/fdatest.c   Tue Sep  1 21:49:34 1998
@@ -29,7 +29,7 @@

 void leak_enumerator(const char* file, int line, size_t size, void* ptr)
 {
-  printf("Memory leak: %s: %d - %d bytes (%p)\n", file, line, size, ptr);
+  printf("Memory leak: %s: %d - %ld bytes (%p)\n", file, line, (long)size, ptr
);
 }

 int main(void)
@@ -48,7 +48,7 @@
   realloc_ptr = Malloc(100);
   realloc_ptr = Realloc(realloc_ptr, 1000);
   printf("Allocations ok\n");
-  printf("str has %d bytes allocated\n", fda_sizeof(str));
+  printf("str has %ld bytes allocated\n", (long)fda_sizeof(str));
   for (i = 0; i < 100; ++i)
     fda_set_ref(allocations[i]);
   fda_set_ref(str);
     _________________________________________________________________
   
   Acknowledgement sent to Paul Slootman <paul@wurtel.demon.nl>:
   New bug report received and forwarded. Copy sent to Johnie Ingram
   <johnie@debian.org>. Full text available.
     _________________________________________________________________
   
   Report forwarded to debian-bugs-dist@lists.debian.org, Johnie Ingram
   <johnie@debian.org>:
   Bug#26312; Package fda. Full text available.
     _________________________________________________________________
   
   
    Ian Jackson / owner@bugs.debian.org, through the Debian bug database
    
   Last modified: 15:20:58 GMT Wed 14 Oct (timestamp page available).