Commit Graph

10286 Commits

Author SHA1 Message Date
Axel Dörfler
1d20e0608e Inode::Create() allowed to create a symlink "above" a file.
Also, it did not check the access permissions if the file already existed.
Removed check for INODE_NO_CACHE, as this no longer applies.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 20:30:24 +00:00
Axel Dörfler
8039d342ec path & toPath don't seem to be too clear. Fixed order or arguments to the
kernel syscall and renamed them to be less confusing.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 20:29:07 +00:00
Axel Dörfler
cd3931efde Added find_directory() test application. Unlike the other tests, it only
tests the libroot.so implementation, so it has to be run under Haiku to
test its implementation (it only prints out all directories, anyway).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:44:11 +00:00
Axel Dörfler
4cd43d200d Removed R5 compatibility stuff, as it's not needed in our libroot.
Moved test main() into separate file under tests/.
Fixed warnings, some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:42:38 +00:00
Jérôme Duval
b39d4ade08 modified tzset to use the global tzfilename when no TZ env variable is found
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:35:13 +00:00
Jérôme Duval
56d0b9b6db added _get_tzfilename
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:33:43 +00:00
Jérôme Duval
f92e8b3361 added a clockconfig bin tool
it is only tested on R5, but should make its way on Haiku too


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:26:28 +00:00
Jérôme Duval
377eab2488 added _user_set_tzfilename
moved set_tzfilename into _user_tzfilename


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:14:06 +00:00
Jérôme Duval
4bbf2e4987 added _user_set_tzfilename
removed set_tzspecs, which was useless; now done in user_set_tzspecs


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:05:17 +00:00
Jérôme Duval
d585e91d9d added tzfilename and isGMT fields.
tzfilename is used to keep current timezone filename
isGMT is used to know how to handle rtc clock


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:02:01 +00:00
Jérôme Duval
fbf47a381c added _kern_set_tzfilename, used to set global timezone filename and whether clock is GMT
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 16:59:10 +00:00
Ingo Weinhold
bd38d51e91 Don't build the userland add-ons here anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 15:49:13 +00:00
Ingo Weinhold
2406c27b43 Disabled building the DiskDevice stuff separately. The tests don't work at moment anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 15:43:47 +00:00
Ingo Weinhold
36fc85d5a2 Disabled DDM tests for the time being.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 15:40:45 +00:00
François Revol
64829f93ff add find_directory to libroot build... someone test it ?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 15:28:51 +00:00
François Revol
390738c37c Use correct syscall for Haiku; better error reporting; testing code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 15:27:08 +00:00
Rudolf Cornelissen
34b765e03b updated settings file with more loggging options info
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 15:12:32 +00:00
Rudolf Cornelissen
39c1c5d155 updated version number to 0.18
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 14:57:12 +00:00
Rudolf Cornelissen
f1a659c05d updated doc for fixes done.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 14:56:11 +00:00
Rudolf Cornelissen
2ed96bbc32 Fixed GET_TIMING_CONSTRAINTS and GET_ACCELERANT_DEVICE_INFO accelerant hooks to return valid data; updated modeline checking and
modification code (used by ProposeDisplayMode) to adhere to one more timing constraint.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 14:54:57 +00:00
François Revol
722a8c5d4d #define OSDIR to "beos" and use it, so we can later just change that
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 09:23:54 +00:00
François Revol
d457be4f45 make use of COMPILE_FOR_R5, make some things static.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 09:04:53 +00:00
François Revol
04495f1467 C version of find_directory, still needs some rework.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 08:55:46 +00:00
shatty
a2aa8e4a7f changed T_ATOMIZER_MODULE_NAME to B_ATOMIZER_MODULE_NAME for compiling under DEBUG
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 06:40:03 +00:00
shatty
5688ae7d7d Ingo claims VisitEachPartition is the same as VisitAll, so I fixed this compile problem by changing VisitAll into VisitEachPartition
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 06:30:40 +00:00
shatty
7dda95376c use shared headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:43:21 +00:00
shatty
fc8af3cfe7 avoid missing prototype warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:42:09 +00:00
shatty
0c1783a5a5 suppress warnings on imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:24:04 +00:00
shatty
41c695ceea build resources once, supress warnings for imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:17:21 +00:00
shatty
d68a1a0505 supress warnings on imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:13:50 +00:00
shatty
41e0a8a89a address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:11:24 +00:00
shatty
ed41ab87f4 suppress warnings on imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 03:50:39 +00:00
shatty
0caecf776c address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 03:39:03 +00:00
shatty
5975f4e98d jamfile simplification
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 03:38:16 +00:00
shatty
9e17ced40d suppress warnings on imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 03:03:35 +00:00
shatty
d0ff798a58 added casts for deleting void*, this should cause destructors to be invoked now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 03:00:30 +00:00
shatty
c78143962a suppress warnings on imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 02:50:13 +00:00
shatty
a42857f183 suppress warnings in imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 02:47:41 +00:00
shatty
6e518ec4c2 address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 02:45:00 +00:00
shatty
f23d8db821 extract common elements and build once
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 02:31:59 +00:00
shatty
39a01fbb29 allow resources as a fourth argument to the App rule, similar to the BinCommand
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 02:31:30 +00:00
shatty
3bf2b70a08 address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 02:00:59 +00:00
shatty
171f2ead33 address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 01:41:57 +00:00
shatty
03f6835ae7 address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 01:34:19 +00:00
shatty
d335105c51 suppress warnings for imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 01:29:47 +00:00
shatty
3a83097201 address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 01:17:56 +00:00
shatty
4ba4c005d2 suppress warnings for imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 01:15:08 +00:00
shatty
d13f0c7543 address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 01:03:18 +00:00
shatty
202669bf0c suppress warnings for imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 00:48:40 +00:00
shatty
3d4c7156c5 extract common files and build once
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 00:46:15 +00:00