Commit Graph

1746 Commits (627bd9686f36d0110625d80080490a9f59c01f0a)
 

Author SHA1 Message Date
cantab.net!aia21 627bd9686f Reapply changes that apparently got lost in Yuval's merge.
(Logical change 1.510)
2004-08-20 15:16:21 +00:00
cantab.net!aia21 ace60ce206 Revert a change from Yuval where a bitfield was converted to a char.
BKrev: 41260f86XYe5YNbsWcvb_-H1ek9HaA
2004-08-20 14:49:42 +00:00
cantab.net!aia21 4341f051c4 Revert a change from Yuval where a bitfield was converted to a char.
(Logical change 1.509)
2004-08-20 14:49:42 +00:00
!uv 067797a112 Warning fixes: variable type changeses.
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv d1b5859785 Warning fixes: shadowing variables.
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv 9747580a05 Warning fixes: printf complains, so add a cast.
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv 5ffea94d8d Warning fixes: mixing declerations with code.
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv 2e082893fe Warning fixes: missing const and mixing declerations with code.
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv 7a64dc8159 Warning fixes: change variable to unsigned.
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv c8dd770817 Warning fixes: change of variable type and no need to inline.
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv 43b262ad58 Warning fix: shadowing a global variable.
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv c9ff3e38e6 Janitor work: Various warning fixes all around the place.
BKrev: 4125eeeaD80jP_6gGnVxxRkCaP7QNg
2004-08-20 12:30:34 +00:00
!uv 912044e09a printf format fixes.
(Logical change 1.507)
2004-08-20 12:18:22 +00:00
!uv ae80043076 printf format fix.
Reformattion a recent debug output change into a common style.

(Logical change 1.507)
2004-08-20 12:18:22 +00:00
!uv 0106f54ff0 printf format fix.
(Logical change 1.507)
2004-08-20 12:18:22 +00:00
!uv b43a5b9051 Various bugfixes related to printf format and incorrect variable types.
BKrev: 4125ec0eaPUcCp2J1JUn4O0JkY0x-g
2004-08-20 12:18:22 +00:00
!uv d9f119eef3 Variable type fix.
(Logical change 1.507)
2004-08-20 12:18:22 +00:00
!uv cb04792793 A printf format fix and a warnning fix.
(Logical change 1.507)
2004-08-20 12:18:22 +00:00
!uv 868e8aa002 A printf format fix and Variable type fixes.
(Logical change 1.507)
2004-08-20 12:18:22 +00:00
!uv 89fee71920 Wrap macro definition with matching #ifndef.
(Logical change 1.506)
2004-08-20 12:04:47 +00:00
!uv 9db879431b Various fixes and enchancments using preprocessor directives.
BKrev: 4125e8dfxH8Gj7E-MUVTJM7a6LA0QQ
2004-08-20 12:04:47 +00:00
!uv fee4dcb145 Restore compile time dependencies at the appropriate level.
(Logical change 1.506)
2004-08-20 12:04:47 +00:00
!uv 083aac380c Resolve #include collusions by using #ifndef.
(Logical change 1.506)
2004-08-20 12:04:47 +00:00
!uv dc9c44c798 Reduce compile time dependencies.
(Logical change 1.506)
2004-08-20 12:04:47 +00:00
!uv b01733f10a Comment unused code with #if 0
(Logical change 1.506)
2004-08-20 12:04:47 +00:00
!uv 86323fac66 Comment #includes by configure's #ifdef HAVE_*
(Logical change 1.506)
2004-08-20 12:04:47 +00:00
!uv 682b8dab6b Use simpler C syntax for aligning a struct.
(Logical change 1.505)
2004-08-20 12:01:17 +00:00
!uv b96c236869 Reorder/pad struct members in order to align to 32 and 64 bit bounderies.
As long as the library ABI is left intact.

BKrev: 4125e80d2nOicvgcLMFurHkoyPsXbA
2004-08-20 12:01:17 +00:00
!uv e7545d7e24 Reorder/pad struct members in order to align to 32 and 64 bit bounderies.
(Logical change 1.505)
2004-08-20 12:01:17 +00:00
!uv 97df123793 Reorder struct members in order to align to 32 and 64 bit bounderies.
(Logical change 1.505)
2004-08-20 12:01:17 +00:00
!uv b15ad70b99 When <mntent.h> does not exist, some parameters may not be used.
(Logical change 1.504)
2004-08-20 11:58:24 +00:00
!uv c73b9f1c8f Usr __attribute__((unused/format/noreturn)) when applicable.
BKrev: 4125e760u6VXpLk2c2DwwJxLj1vinA
2004-08-20 11:58:24 +00:00
!uv c3f683c497 Allow better error checking.
(Logical change 1.504)
2004-08-20 11:58:24 +00:00
!uv 27bf9c0ea0 Allow better compiler optimization/error checking.
(Logical change 1.504)
2004-08-20 11:58:24 +00:00
cantab.net!aia21 d0bae867a2 Move Sprintf,Dputs,Dprintf,Dperror to be defines and call proper
non-inlined functions which are now in debug.c.  (Anton)

BKrev: 41251517UtmWQKKDw-lgyaWFGJ-yFw
2004-08-19 21:01:11 +00:00
cantab.net!aia21 39b62e050e Move Sprintf,Dputs,Dprintf,Dperror to be defines and call proper
non-inlined functions which are now in debug.c.

(Logical change 1.503)
2004-08-19 21:01:11 +00:00
cantab.net!aia21 d33e7eaae4 Fix fallout from previous error output changes.
(Logical change 1.503)
2004-08-19 21:01:11 +00:00
cantab.net!aia21 930e056c02 Use Sprintf instead of doing it by hand.
(Logical change 1.502)
2004-08-18 10:27:49 +00:00
cantab.net!aia21 3c32bde90c Update
(Logical change 1.502)
2004-08-18 10:27:49 +00:00
cantab.net!aia21 380f4f1ce1 Silence compiler warnings.
(Logical change 1.502)
2004-08-18 10:27:49 +00:00
cantab.net!aia21 4910ed561c Change all output to only appear if configure with --enable-debug by
using Dputs/Dprintf instead of fprintf(stderr,.

(Logical change 1.502)
2004-08-18 10:27:49 +00:00
cantab.net!aia21 df05fa02ef Add Sprintf().
(Logical change 1.502)
2004-08-18 10:27:49 +00:00
cantab.net!aia21 5c8a6b2a03 - Fix some warnings. (Anton)
- Make all of libntfs only output anything if configured with
  --enable-debug.  The only exception is ntfs_boot_sector_is_ntfs()
  which now uses a new function Sprintf(), provided by debug.h which
  can be #ifdef-ed out if people want it to be truly silent.  (Anton)

BKrev: 41232f25oIqaTZeJo9wp522TvGh4SQ
2004-08-18 10:27:49 +00:00
cantab.net!aia21 11fa3eb6a9 lcnalloc.c:
Only need two spare runlist elements when realocating memory,
  not three since we no longer add a starting element.

BKrev: 41227374ygcn71Q3qM3GOQLEmm6uAw
2004-08-17 21:07:00 +00:00
cantab.net!aia21 183985792c Only need two spare runlist elements when realocating memory,
not three since we no longer add a starting element.

(Logical change 1.501)
2004-08-17 21:07:00 +00:00
cantab.net!aia21 bd32a5f43a lcnalloc.c:
Fix ntfs_cluster_alloc() to use LCN_RL_NOT_MAPPED rather
  than LCN_ENOENT as runlist terminator.
  Also, make it not create a LCN_RL_NOT_MAPPED element at
  the beginning.

BKrev: 41226e5el_B6t-KN0L2ScPvul_APng
2004-08-17 20:45:18 +00:00
cantab.net!aia21 129a7f0399 Fix ntfs_cluster_alloc() to use LCN_RL_NOT_MAPPED rather
than LCN_ENOENT as runlist terminator.
Also, make it not create a LCN_RL_NOT_MAPPED element at
the beginning.

(Logical change 1.500)
2004-08-17 20:45:18 +00:00
flatcap.org!ntfs 7c9405a388 ntfsundelete: Recover in-use clusters as well (Giang,Carmelo)
BKrev: 412115c3vasFNkvLcttTWHzyGCGW3Q
2004-08-16 20:14:59 +00:00
flatcap.org!ntfs 9fd1edce61 Undelete in-use clusters as well
(Logical change 1.499)
2004-08-16 20:14:59 +00:00
cantab.net!aia21 9b7a86bd3a lcnalloc.c:
Fix some bugs in error recovery code path of ntfs_cluster_alloc() (runlist
  unterminated and one bit was not recovered).  (Anton)

BKrev: 411fcfd6wPnfWQ29VNvZlJPWpdFVDQ
2004-08-15 21:04:22 +00:00