Commit ffd15f5
committed
Two robustness patches:
(1) In opendir(), don't call the lock-release macros; we're
manipulating list objects and that shouldn't be done in unlocked
state.
(2) Don't use posix_strint() for chmod() -- the mode_t arg might be a
64 bit int (reported by Nick Maclaren).1 parent fb2789f commit ffd15f5
1 file changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
695 | | - | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
696 | 707 | | |
697 | 708 | | |
698 | 709 | | |
| |||
998 | 1009 | | |
999 | 1010 | | |
1000 | 1011 | | |
1001 | | - | |
1002 | 1012 | | |
1003 | | - | |
1004 | 1013 | | |
1005 | 1014 | | |
1006 | 1015 | | |
1007 | 1016 | | |
1008 | | - | |
1009 | 1017 | | |
1010 | 1018 | | |
1011 | 1019 | | |
| |||
1028 | 1036 | | |
1029 | 1037 | | |
1030 | 1038 | | |
1031 | | - | |
1032 | 1039 | | |
1033 | 1040 | | |
1034 | 1041 | | |
| |||
0 commit comments