Olaf Seibert
c8bdff6d49
Clear file pointer when file is closed.
2018-09-07 18:44:32 +02:00
Adam Sampson
591437d302
Add missing fclose after tape format detection.
...
Without this, doing something like:
devmount mta0 /tmp/foo
devunmount mta0
(i.e. without specifying fmt=bar to the devmount) will leak a FILE * and
file descriptor.
2018-05-12 12:35:34 +01:00
Olaf Seibert
7fedb55643
Fix a warning: control may reach end of non-void function
2016-02-15 17:41:21 +01:00
Olaf Seibert
4075a69ccb
Try harder to get printf formats right for some typedef'ed types.
...
For older versions of clang that's still not enough and they keep complaining,
but for newer ones it's ok.
2016-01-26 20:44:13 +01:00
Olaf Seibert
9312579251
clang-suggested changes, mostly wrt -Wparentheses
...
warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
2016-01-11 00:24:46 +01:00
Olaf Seibert
58b59dbaa1
Overlay panda-dist/klh10-2.0h
...
by the late MRC, Mark Crispin.
Source: probably the former http://panda.com/tops-20/ .
panda-dist.tar.gz dated Mar 30 2007.
2015-04-27 23:07:21 +02:00
Olaf Seibert
742b43d025
Initial import of klh10-2.0a.tgz
...
dated Nov 19 2001.
Source: http://klh10.trailing-edge.com/
2015-04-27 22:54:12 +02:00