git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 62414] New: update-index: Don't create files when touching them


https://bz.apache.org/bugzilla/show_bug.cgi?id=62414

            Bug ID: 62414
           Summary: update-index: Don't create files when touching them
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_mbox
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: sebb@xxxxxxxxxx
  Target Milestone: ---

update-index unconditionally touches the files yyyymm and yyyymm.mbox

This creates empty files where none existed.

The files should only be touched if they exist; e.g. use:

touch -c $mboxfile; touch -c $mboxfile2 # don't create the files

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx




( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache2-bugs/msg02793.html on line 100
Call Stack
#TimeMemoryFunctionLocation
10.0007363480{main}( ).../msg02793.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache2-bugs/msg02793.html on line 100
Call Stack
#TimeMemoryFunctionLocation
10.0007363480{main}( ).../msg02793.html:0