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 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

This comment has been minimized.

Copy link

@gopherbot gopherbot commented Jan 3, 2019

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

@bradfitz

This comment has been minimized.

Copy link
Contributor

@bradfitz 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 Jan 3, 2019
@UlisseMini

This comment has been minimized.

Copy link
Author

@UlisseMini UlisseMini commented Jan 3, 2019

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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.