Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os: clarify meaning of "truncate" #29531

Closed
UlisseMini opened this issue Jan 3, 2019 · 3 comments
Closed

os: clarify meaning of "truncate" #29531

UlisseMini opened this issue Jan 3, 2019 · 3 comments

Comments

@UlisseMini
Copy link

UlisseMini commented Jan 3, 2019

For non-native speakers the term "empty" might be easier to understand
eg change // truncate regular writable file when opened. to // truncate (empty) regular writable file when opened. in the O_TRUNC constant

@UlisseMini UlisseMini changed the title Make the documentation for os.O_TRUNC easier to understand os: Clarify meaning of "truncate" Jan 3, 2019
@UlisseMini UlisseMini changed the title os: Clarify meaning of "truncate" os: clarify meaning of "truncate" Jan 3, 2019
@gopherbot
Copy link

Change https://golang.org/cl/156121 mentions this issue: os: clarify meaning of "truncate"

@bradfitz
Copy link
Contributor

bradfitz commented Jan 3, 2019

Sorry, this adds more confusion than it helps: "empty" can be both a verb or an adjective.

Let's leave it as-is. People can look up the word. It's the same word used elsewhere in Unix/POSIX/etc.

@bradfitz bradfitz closed this as completed Jan 3, 2019
@UlisseMini
Copy link
Author

Alright i understand :)

@golang golang locked and limited conversation to collaborators Jan 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants