Re: [AD] 3 patches regarding unicode and buffer overfows (mostly) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> errno is to be checked only whenever a routine returns an error, and it is
> not to be expected to be zero'd when a routine terminates sucessfully.
The file selector code already makes use of errno (ENOMEM for malloc
failure, detection of disk errors via errno) but seems not to modify its
return value accordingly. We could then change that.
--
Eric Botcazou
ebotcazou@xxxxxxxxxx