summaryrefslogtreecommitdiff
path: root/Userland/truncate.cpp
AgeCommit message (Collapse)Author
2020-02-23Userland: Delete redundant code in truncateShannon Booth
Fixes #1262
2020-02-06LibCore: Remove leading C from filenamesAndreas Kling
2020-02-02LibCore: Put all classes in the Core namespace and remove the leading CAndreas Kling
I've been wanting to do this for a long time. It's time we start being consistent about how this stuff works. The new convention is: - "LibFoo" is a userspace library that provides the "Foo" namespace. That's it :^) This was pretty tedious to convert and I didn't even start on LibGUI yet. But it's coming up next.
2020-01-28Userland+Terminal: Port to new CArgsParser APISergey Bugaev
While at it, also add some niceties and fix some things.
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2020-01-08truncate: Unbreak this utility after ftruncate() syscall fixesAndreas Kling
2019-08-05Userland: Implement truncate commandConrad Pankoff
This has a known bug in that you can't specify a negative size value. This bug stems from the argument parser, and once it's fixed there, everything should work here.