Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,080
    • Issues 2,080
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #28841
Closed
Open
Created Oct 12, 2015 by FPC Admin account@fpc_adminOwner

fileutil.CopyDirTree does not handle copy to contained directory

Original Reporter info from Mantis: BeniBela @benibela
  • Reporter name: Benito van der Zander

Description:

fileutil.CopyDirTree does not handle the case when a directory is copied to a subdirectory contained in it and crashes.

E.g. CopyDirTree('/tmp/foo', '/tmp/foo/bar', [cffCreateDestDirectory, cffOverwriteFile]);

Mantis conversion info:

  • Mantis ID: 28841
  • Build: Lazarus 1.5 r48633M FPC 2.6.2 x8
  • Fixed in version: 1.6
  • Fixed in revision: r51033 (#6faa4e89), r51034 (#d10faafb), r51038 (#10e166f6), r51039 (#b8d42c3a)
  • Target version: 1.6
Assignee
Assign to
Time tracking