Conversation
3fb016c to
7eca83d
Compare
7eca83d to
24fb6b1
Compare
josch
left a comment
There was a problem hiding this comment.
I'm not involved in the development of genext2fs but you asked for a review so here you have it.
My only other suggestion would be to add a unit test that uses disorderfs to show that your patch works.
| off_t filesize; | ||
|
|
||
| if(!(dh = opendir("."))) | ||
| if((numdirs = scandir(".", &dents, NULL, alphasort)) == -1) |
There was a problem hiding this comment.
alphasort is locale aware. You need to set LC_COLLATE to a fixed value like C to produce the same output independent of the user's locale
There was a problem hiding this comment.
The man page states that this is already the default behavior. Would you rather make it explicit?
...
On startup of the main program, the portable "C" locale is selected as default.
...
|
Here is an idea how a test for this feature could look like: As expected, the images differ without your patch and they are identical with your patch. |
|
@josch :
Yes but you're more active than me; I'd really like to handle you maintainership of genext2fs. Or at the very least nominate you co-maintainer as github settings permit. @mpolitzer sorry for the OT rant |
24fb6b1 to
1f38ba4
Compare
No problem |
5a48e85 to
8d9d322
Compare
8d9d322 to
84c2d01
Compare
52cd773 to
84c2d01
Compare
|
bump |
No description provided.