Branch: refs/heads/yves/fix_define_tab
  Home:   https://github.com/Perl/perl5
  Commit: 65490bf28a7883d2b9aedbd28047d85880392be1
      
https://github.com/Perl/perl5/commit/65490bf28a7883d2b9aedbd28047d85880392be1
  Author: Yves Orton <[email protected]>
  Date:   2022-03-12 (Sat, 12 Mar 2022)

  Changed paths:
    M cop.h
    M ext/File-Glob/bsd_glob.c
    M ext/File-Glob/bsd_glob.h
    M ext/SDBM_File/dbu.c
    M iperlsys.h
    M malloc.c
    M op.h
    M os2/os2ish.h
    M patchlevel.h
    M plan9/config.plan9
    M plan9/config_h.sample
    M plan9/plan9ish.h
    M regcomp.c
    M regcomp.h
    M regexec.c
    M uconfig.h
    M unixish.h
    M util.c
    M vms/vmsish.h
    M win32/config_H.gc
    M win32/config_H.vc
    M win32/include/sys/socket.h
    M win32/win32.h
    M win32/win32iop.h

  Log Message:
  -----------
  replace all "define\t" with "define " except cpan/, dist/ and Configure

'#define' has seven characters, so following it with a \t makes it look
like '#define ' when it is not, which then frustrates attempts to find
where a given define is. If you *know* then you do a

    git grep -P 'define\s+WHATEVER'

but if don't or you forget, you can get very confused trying to find
where a given define is located. This fixes all such cases so they
actually are 'define WHATEVER' instead.

View this patch with -w and you will see "no changes" except for
config_h.SH which needed to be changed to ensure that it produces output
that doesn't replicate the problem.

If this patch is getting in your way with blame analysis use the
-w option.

This patch does *not* include files in dist/ nor Configure related
files, those will be fixed in a subsequent patch.

This patch does *not* touch anything in cpan/ as we don't own that code.
Changes to files in dist/ will come in a subsequent patch.


  Commit: f172e007461217f99816b5d67b9a89d926507e73
      
https://github.com/Perl/perl5/commit/f172e007461217f99816b5d67b9a89d926507e73
  Author: Yves Orton <[email protected]>
  Date:   2022-03-12 (Sat, 12 Mar 2022)

  Changed paths:
    M Configure
    M Porting/config_h.pl
    M config_h.SH

  Log Message:
  -----------
  Replace 'define\t' with 'define ' in Configure/metaconfig related files

This is broken out so it is easier for Tux to find and merge with
metaconfig.


  Commit: 15ce4e6e3e866541a01bba27b818e9b77c667ea5
      
https://github.com/Perl/perl5/commit/15ce4e6e3e866541a01bba27b818e9b77c667ea5
  Author: Yves Orton <[email protected]>
  Date:   2022-03-12 (Sat, 12 Mar 2022)

  Changed paths:
    M dist/IO/ChangeLog
    M dist/IO/IO.pm
    M dist/IO/lib/IO/File.pm
    M dist/IO/lib/IO/Handle.pm
    M dist/IO/lib/IO/Seekable.pm
    M dist/IO/lib/IO/Select.pm
    M dist/IO/poll.h

  Log Message:
  -----------
  dist/IO: replace "define\t" with "define ", sync versions, update ChangeLog

This cleans up the defines in dist/IO/poll.h.

At the same time I noticed that the version data in the different
modules in dist/IO varied from v1.48 to v1.49, which is a bit confusing.
The version for the dist comes from IO/IO.pm which was marked v1.49, but
this version was not mentioned in the Changelog. So I bumped the version
in all of the files to v1.49 and added a ChangeLog entry. The last
release on CPAN is v1.48 when all the versions where synchronized.


Compare: https://github.com/Perl/perl5/compare/9b77eb4ac2d1...15ce4e6e3e86

Reply via email to