{"version":"2.1.323","anchor":"edit-tool-handles-zero-size-special-files-and-refuses-device","canonical_anchor":"edit-tool-handles-zero-size-special-files-and-refuses-device","heading":"Edit refuses devices and pipes and handles files that report zero size","tier":"notice","area":"File Tools","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/edit-tool-handles-zero-size-special-files-and-refuses-device","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### Edit refuses devices and pipes and handles files that report zero size\n\nThe Edit tool now refuses devices, pipes and sockets with a clear message, and reads files that report zero size up to a limit\n\n**What**\n\nEdit is the tool Claude uses to change a file. It now checks what kind of file it was given:\n\n- Devices, FIFOs (named pipes) and sockets are refused with a message saying Edit only changes regular files.\n\n- Files that report a size of zero, such as files under `\/proc`, are read up to a size limit.\n\n- A zero-size file whose content goes over that limit is refused as too large.\n\n- A file with no data yet gets an error saying it may be a stream.\n\n**Why**\n\nEditing these special files could hang or give a confusing error before. Claude now gets a clear answer instead.\n\n- Area: File Tools\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}