doc: note that fs.futimes only works on AIX >7.1#13659
doc: note that fs.futimes only works on AIX >7.1#13659gibfahn wants to merge 1 commit intonodejs:masterfrom
Conversation
doc/api/fs.md
Outdated
doc/api/fs.md
Outdated
There was a problem hiding this comment.
I would just make it *Note*: given that the text clearly states AIX already.
There was a problem hiding this comment.
Or perhaps,
*Note*: For AIX systems, this function only works on 7.1 or newer. On older AIX versions, calling this function will always return `UV_ENOSYS`.
There was a problem hiding this comment.
I would keep 'AIX' in front of '7.1' to make it clear this refers to the OS version and not the Node.js version.
There was a problem hiding this comment.
Updated, I think it should be unambiguous now.
doc/api/fs.md
Outdated
doc/api/fs.md
Outdated
There was a problem hiding this comment.
Now it sounds like it doesn't work on non-AIX platforms.
There was a problem hiding this comment.
Suggestions welcome. I don't want it to get excessively long.
There was a problem hiding this comment.
And I think the second sentence makes it pretty clear that this is an AIX specific issue.
There was a problem hiding this comment.
*Note*: On AIX systems, this function only works for versions 7.1 and newer...
e7c2a0d to
9dae270
Compare
|
@richardlau @jasnell reversed it to (hopefully) preserve clarity while maintaining brevity, PTAL. |
doc/api/fs.md
Outdated
There was a problem hiding this comment.
This does not sound right. The earlier description said it only worked on version 7.1 and newer, now it says it no longer works after 7.1
There was a problem hiding this comment.
Are you saying that older for you means later?
it only worked on version 7.1 and newer
does not work on AIX versions older than 7.1
These two phrases seem identical to me.
There was a problem hiding this comment.
Bear with us @gibfahn, the bike shed is not quite yet the right shade ;-) ...
*Note*: This function does not work correctly on AIX versions older than 7.1 in that it will
always return the value `UV_ENOSYS`.There was a problem hiding this comment.
I like the idea of linking the two sentences, but that suggests that UV_ENOSYS is a reasonable thing for it to return. How about:
*Note*: This function does not work on AIX versions older than 7.1,
it will return the error `UV_ENOSYS`.There was a problem hiding this comment.
How about:
Note: This function does not work on AIX versions before 7.1,
it will return the error UV_ENOSYS.
While I agree older probably means the right thing the numbering is opposite to what usually comes to mind with older (ie 72 is older than 71 in years)
There was a problem hiding this comment.
Hmm, let's see how it looks with js formatting:
*Note*: This function does not work on AIX versions before 7.1,
it will return the error UV_ENOSYS.Yep, looks good to me.
There was a problem hiding this comment.
I like this shade for the shed...
and it will return with error code UV_ENOSYS.(with go coloring)
|
Given that since Node.js 8 we don't support AIX versions earlier than 7.1 TL04 (https://github.com/nodejs/node/blob/v8.0.0/BUILDING.md), do we need to document this limitation on 8 and master? Definitely needs to be documented on the earlier Node.js release lines. |
|
@richardlau @mhdawson LGTY? |
|
@gibfahn land before the lighting changes and everyone wants a new color again. |
PR-URL: #13659 Fixes: #12609 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> i
|
Landed in 4eeb4a4 |
PR-URL: #13659 Fixes: #12609 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> i
PR-URL: #13659 Fixes: #12609 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> i
PR-URL: #13659 Fixes: #12609 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> i
PR-URL: #13659 Fixes: #12609 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> i
PR-URL: #13659 Fixes: #12609 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> i
PR-URL: #13659 Fixes: #12609 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> i
Fixes: #12609
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
doc
cc/ @nodejs/platform-aix @gireeshpunathil