FreeCalypso > hg > freecalypso-tools
annotate .hgignore @ 465:003e48f8ebe1
rvinterf/etmsync/fsnew.c: cast 0 to (char *) for execl sentinel
I generally don't use NULL and use plain 0 instead, based on a "NULL
considered harmful" discussion on the classiccmp mailing list many aeons
ago (I couldn't find it, and I reason that it must have been 2005 or
earlier), but a recent complaint by a packager sent me searching, and I
found this:
https://ewontfix.com/11/
While I don't give a @#$% about "modern" systems and code-nazi tools,
I realized that passing a plain 0 as a pointer sentinel in execl is wrong
because it will break on systems where pointers are longer than the plain
int type. Again, I don't give a @#$% about the abomination of x86_64 and
the like, but if anyone ever manages to port my code to something like a
PDP-11 (16-bit int, 32-bit long and pointers), then passing a plain 0
as a function argument where a pointer is expected most definitely won't
work: if the most natural stack slot and SP alignment unit is 16 bits,
fitting an int, with longs and pointers taking up two such slots, then
the call stack will be totally wrong with a plain 0 passed for a pointer.
Casting the 0 to (char *) ought to be the most kosher solution for the
most retro systems possible.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 11 Feb 2019 00:00:19 +0000 |
parents | f4a32c1025a2 |
children | 68c7e4edc4da |
rev | line source |
---|---|
1
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 syntax: regexp |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 \.[oa]$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 \.elf$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 \.bin$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 \.srec$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
142
d41edd329670
fc-cal2text utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
85
diff
changeset
|
8 ^ffstools/cal2text/fc-cal2text$ |
294
1416fe200069
c1xx-calextr started
Mychaela Falconia <falcon@freecalypso.org>
parents:
292
diff
changeset
|
9 ^ffstools/caltools/c1xx-calextr$ |
292
0af5009bd52f
fc-cal2bin written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
278
diff
changeset
|
10 ^ffstools/caltools/fc-cal2bin$ |
439
f4a32c1025a2
fc-rftab2c program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
412
diff
changeset
|
11 ^ffstools/caltools/fc-rftab2c$ |
318
182c3ae209f6
compile-fc-batt tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
294
diff
changeset
|
12 ^ffstools/newcomp/compile-fc-batt$ |
320
7572c35a768a
compile-fc-chg tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
318
diff
changeset
|
13 ^ffstools/newcomp/compile-fc-chg$ |
240
2568a2a8a453
tiaud-compile program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
235
diff
changeset
|
14 ^ffstools/tiaud/compile$ |
163
568e2a2b49c8
tiaud-decomp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
153
diff
changeset
|
15 ^ffstools/tiaud/decomp$ |
241
1f3b28d66d53
tiaud-mkvol program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
240
diff
changeset
|
16 ^ffstools/tiaud/mkvol$ |
1
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 ^ffstools/tiffs-rd/tiffs$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 ^ffstools/tiffs-wrappers/mokoffs$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 ^ffstools/tiffs-wrappers/pirffs$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
85
c5766d12360d
fc-buzplay started
Mychaela Falconia <falcon@freecalypso.org>
parents:
33
diff
changeset
|
21 ^loadtools/fc-buzplay$ |
1
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 ^loadtools/fc-compalram$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 ^loadtools/fc-iram$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 ^loadtools/fc-loadtool$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 ^loadtools/fc-xram$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 |
5
7eaa3307e5df
fc-fr2tch utility written, added under miscutil
Mychaela Falconia <falcon@freecalypso.org>
parents:
1
diff
changeset
|
27 ^miscutil/fc-fr2tch$ |
171
f736f3ce8310
fc-gsm2vm utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
170
diff
changeset
|
28 ^miscutil/fc-gsm2vm$ |
1
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 ^miscutil/fc-rgbconv$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 ^miscutil/fc-serterm$ |
6
d57f68d0568d
fc-tch2fr utility written, added under miscutil
Mychaela Falconia <falcon@freecalypso.org>
parents:
5
diff
changeset
|
31 ^miscutil/fc-tch2fr$ |
170
a72bbc3ace09
fc-vm2hex utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
163
diff
changeset
|
32 ^miscutil/fc-vm2hex$ |
1
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 ^miscutil/imei-luhn$ |
412
a5dab452be0d
mokosrec2bin utility imported from the old freecalypso-reveng tree,
Mychaela Falconia <falcon@freecalypso.org>
parents:
393
diff
changeset
|
34 ^miscutil/mokosrec2bin$ |
1
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 |
176
2b38691076b9
fc-e1decode utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
171
diff
changeset
|
36 ^ringtools/fc-e1decode$ |
33
cefdc6623322
fc-e1gen utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
37 ^ringtools/fc-e1gen$ |
cefdc6623322
fc-e1gen utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
38 |
1
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 ^rvinterf/asyncshell/fc-shell$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 ^rvinterf/ctracedec/ctracedec$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 ^rvinterf/etmsync/fc-dspapidump$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 ^rvinterf/etmsync/fc-fsio$ |
153
9925fba699be
fc-olddump replaced with fc-memdump
Mychaela Falconia <falcon@freecalypso.org>
parents:
142
diff
changeset
|
43 ^rvinterf/etmsync/fc-memdump$ |
278
31d056f37647
fc-readcal written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
269
diff
changeset
|
44 ^rvinterf/etmsync/fc-readcal$ |
269
20ed7a320b12
fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
265
diff
changeset
|
45 ^rvinterf/etmsync/fc-tmsync$ |
1
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 ^rvinterf/lowlevel/rvinterf$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 ^rvinterf/lowlevel/rvtdump$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 ^rvinterf/lowlevel/tfc139$ |
346
99471c57155a
fcup-rvtat program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
341
diff
changeset
|
49 ^rvinterf/rvtat/fcup-rvtat$ |
1
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 ^rvinterf/tmsh/fc-tmsh$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 ^target-utils/.*/crt0\.S$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 ^target-utils/tf-breakin/embed\.c$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 ^target-utils/tf-breakin/mkembed$ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 ^toolchain/binutils-2\.21\.1/ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 ^toolchain/binutils-build/ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 ^toolchain/gcc-4\.5\.4/ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 ^toolchain/gcc-build/ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 ^toolchain/newlib-2\.0\.0/ |
22c6f5bd7ffa
.hgignore added, based on freecalypso-sw version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 ^toolchain/newlib-build/ |
337
560af437a429
sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
320
diff
changeset
|
62 |
348
64dcbabd48ca
uptools/atcmd framework started
Mychaela Falconia <falcon@freecalypso.org>
parents:
346
diff
changeset
|
63 ^uptools/atcmd/fcup-at$ |
387
b61b81d3cece
fcup-settime program written, compiles, produces expected AT+CCLK command
Mychaela Falconia <falcon@freecalypso.org>
parents:
385
diff
changeset
|
64 ^uptools/atcmd/fcup-settime$ |
352
02d6c8469535
fcup-smdump implemented, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
348
diff
changeset
|
65 ^uptools/atcmd/fcup-smdump$ |
362
89fe66cb60f6
fcup-smsend program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
352
diff
changeset
|
66 ^uptools/atcmd/fcup-smsend$ |
373
1fa4dcbb1c87
fcup-smsendmult program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
362
diff
changeset
|
67 ^uptools/atcmd/fcup-smsendmult$ |
384
3eb92855f7b9
fcup-smsendpdu program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
373
diff
changeset
|
68 ^uptools/atcmd/fcup-smsendpdu$ |
385
ce3b57b8920b
fcup-smwrite program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
384
diff
changeset
|
69 ^uptools/atcmd/fcup-smwrite$ |
341
692dbc4c2f07
fcup-atinterf program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
337
diff
changeset
|
70 ^uptools/atinterf/fcup-atinterf$ |
337
560af437a429
sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
320
diff
changeset
|
71 ^uptools/sms-pdu-decode/sms-pdu-decode$ |