diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-03-14 17:32:05 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-03-14 17:32:05 +0000 |
commit | d1bdea5a76903cf0d0984f58ce1d5d291807fa48 (patch) | |
tree | 14d8488ff8b75efb89da12b0ba724ecd37768df8 /tools/ppc/magic | |
parent | 5b746b6ec6a273ece0802256da91772d7971c22a (diff) | |
download | drakx-d1bdea5a76903cf0d0984f58ce1d5d291807fa48.tar drakx-d1bdea5a76903cf0d0984f58ce1d5d291807fa48.tar.gz drakx-d1bdea5a76903cf0d0984f58ce1d5d291807fa48.tar.bz2 drakx-d1bdea5a76903cf0d0984f58ce1d5d291807fa48.tar.xz drakx-d1bdea5a76903cf0d0984f58ce1d5d291807fa48.zip |
fix myself sux: don't unconditionnally fgets /proc/modules, because fopen
may have failed (the libc, in its great search for speed, probably doesn't
care to check if the FILE* given to fgets is valid and opened)
Diffstat (limited to 'tools/ppc/magic')
0 files changed, 0 insertions, 0 deletions