You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Thomas Singer via dev <de...@subversion.apache.org> on 2024/10/11 11:00:21 UTC
0x0C character in some source files
Dear C experts,
I've noticed that some source files, e.g.
subversion/libsvn_repos/authz.c, subversion/libsvn_subr/config_file.c or
subversion/libsvn_client/conflicts.c, contain 0x0C characters. What is
their purpose or do they exist by error?
Regards,
Thomas
Re: 0x0C character in some source files
Posted by Syntevo via dev <de...@subversion.apache.org>.
Thanks for the answering. I was not expecting the C compiler to silently
accept them.
Regards
Thomas
On 11/10/2024 13:51, Daniel Sahlberg wrote:
> Den fre 11 okt. 2024 kl 13:36 skrev Stefan Sperling <st...@apache.org>:
>
>> On Fri, Oct 11, 2024 at 01:00:21PM +0200, Thomas Singer via dev wrote:
>>> Dear C experts,
>>>
>>> I've noticed that some source files, e.g.
>> subversion/libsvn_repos/authz.c,
>>> subversion/libsvn_subr/config_file.c or
>>> subversion/libsvn_client/conflicts.c, contain 0x0C characters. What is
>> their
>>> purpose or do they exist by error?
>>>
>>> Regards,
>>> Thomas
>>>
>>
>> On purpose: https://en.wikipedia.org/wiki/Form-feed
>>
>> I believe emacs does something clever with this which is why they've
>> been added. I don't use emacs and don't know what the benefits are.
>>
>
> It is described a little in the Community Guide:
> https://subversion.apache.org/docs/community-guide/conventions.html#use-page-breaks
>
> Kind regards,
> Daniel
>
Re: 0x0C character in some source files
Posted by Daniel Sahlberg <da...@gmail.com>.
Den fre 11 okt. 2024 kl 13:36 skrev Stefan Sperling <st...@apache.org>:
> On Fri, Oct 11, 2024 at 01:00:21PM +0200, Thomas Singer via dev wrote:
> > Dear C experts,
> >
> > I've noticed that some source files, e.g.
> subversion/libsvn_repos/authz.c,
> > subversion/libsvn_subr/config_file.c or
> > subversion/libsvn_client/conflicts.c, contain 0x0C characters. What is
> their
> > purpose or do they exist by error?
> >
> > Regards,
> > Thomas
> >
>
> On purpose: https://en.wikipedia.org/wiki/Form-feed
>
> I believe emacs does something clever with this which is why they've
> been added. I don't use emacs and don't know what the benefits are.
>
It is described a little in the Community Guide:
https://subversion.apache.org/docs/community-guide/conventions.html#use-page-breaks
Kind regards,
Daniel
Re: 0x0C character in some source files
Posted by Stefan Sperling <st...@apache.org>.
On Fri, Oct 11, 2024 at 01:00:21PM +0200, Thomas Singer via dev wrote:
> Dear C experts,
>
> I've noticed that some source files, e.g. subversion/libsvn_repos/authz.c,
> subversion/libsvn_subr/config_file.c or
> subversion/libsvn_client/conflicts.c, contain 0x0C characters. What is their
> purpose or do they exist by error?
>
> Regards,
> Thomas
>
On purpose: https://en.wikipedia.org/wiki/Form-feed
I believe emacs does something clever with this which is why they've
been added. I don't use emacs and don't know what the benefits are.