Re: cvs commit: hugs98/src errors.c script.c hugs98/src/winhugs General.c IORemap.c Winhugs.h

Neil Mitchell <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.hugs
Message-ID <404396ef0510050319g6232159at5e49e5030a6e3e4b__14466.9716166847$1128507599$gmane$org@mail.gmail.com>
Hi,

I noticed you changed:

FileName = &FileName[5]

to

FileName += 5

I realise on some bad C compilers the second one may be more
efficient, but the first has the advantage that when converting from
ASCII to Unicode it still works, whereas the second one corrupts the
string. Because of this, I always write using the first one.

Thanks

Neil

On 10/4/05, Ross Paterson <[email protected]> wrote:
> ross        2005/10/04 08:26:38 PDT
>
>   Modified files:
>     src                  errors.c script.c
>     src/winhugs          General.c IORemap.c Winhugs.h
>   Log:
>   from Neil Mitchell: Factor out printing of filename links for WinHugs,
>   and also abbreviate them using {Hugs} or ., expanding them again in
>   editor loading.
>
>   Revision  Changes    Path
>   1.9       +2 -9      hugs98/src/errors.c
>   1.16      +1 -3      hugs98/src/script.c
>   1.2       +12 -1     hugs98/src/winhugs/General.c
>   1.4       +35 -6     hugs98/src/winhugs/IORemap.c
>   1.16      +1 -0      hugs98/src/winhugs/Winhugs.h
> _______________________________________________
> Cvs-hugs mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/cvs-hugs
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.