[gnutls-devel] GnuTLS | lib: improve external file loading (!1261)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed May 27 16:54:19 CEST 2020




Tim Rühsen started a new discussion on lib/priority.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1261#note_350146329

>  {
>  	int ret;
>  	struct stat sb;
> +	FILE *fd;

`fd` normally means file descriptor, `fp` means file pointer. Having `FILE *fd` is a bit irritating, at least to me.

At GNU Poke I recently introduced this syntax-check rule in `cfg.mk` ;-)
```
sc_jemarchism_file_fd:
        @prohibit='FILE \*fd[,;]'                        \
        exclude=cfg.mk                                   \
        halt='do not use FILE *fd, use FILE *fp instead' \
          $(_sc_search_regexp)
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1261#note_350146329
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200527/929f03f7/attachment.html>


More information about the Gnutls-devel mailing list