Commit Graph

1733 Commits (ae80043076d5b508bb08b1c1bde50bda062721ab)
 

Author SHA1 Message Date
!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
cantab.net!aia21 ddd4ce7688 Update
(Logical change 1.498)
2004-08-15 21:04:22 +00:00
cantab.net!aia21 24d811c682 Fix some bugs in error recovery code path (runlist unterminated and one bit was not recovered).
(Logical change 1.498)
2004-08-15 21:04:22 +00:00
flatcap.org!ntfs a78b1c7b03 use the directory objects to lookup files
(Logical change 1.497)
2004-08-14 15:27:00 +00:00
flatcap.org!ntfs e5e3454756 ntfsrm: find files using the directory objects
BKrev: 411e2f44QF_CHFafkAjVH8dOgw2Dbw
2004-08-14 15:27:00 +00:00
flatcap.org!ntfs 78e3bdfd76 find diverse objects
(Logical change 1.497)
2004-08-14 15:27:00 +00:00
flatcap.org!ntfs fd4d5985b3 ntfsrm: clear up on umount
BKrev: 411cadda9iP2vopE8GNHWB2UTVYo_w
2004-08-13 12:02:34 +00:00
flatcap.org!ntfs 7b752dceda clear up everything on umount
(Logical change 1.496)
2004-08-13 12:02:34 +00:00
flatcap.org!ntfs ae162587c7 ntfsrm: start integrating ntfs_dir, ntfs_volume and ntfs_inode
BKrev: 411ca812qSAkPEyM4gOWgfXKeqkLaA
2004-08-13 11:37:54 +00:00
flatcap.org!ntfs 552a8e42be keep track of inodes
(Logical change 1.495)
2004-08-13 11:37:54 +00:00
flatcap.org!ntfs d25fa0b7c1 integrate ntfs_dir's into the volume and inodes
(Logical change 1.495)
2004-08-13 11:37:54 +00:00
flatcap.org!ntfs bd39196073 minor build fixes
BKrev: 411b71a5FBfxr2wsHWzV_ZxGVzUHIA
2004-08-12 13:33:25 +00:00
flatcap.org!ntfs a61808707f minor build fix
(Logical change 1.494)
2004-08-12 13:33:25 +00:00
flatcap.org!ntfs bd8a6667cf ref count inodes
2004/08/10 16:19:44+01:00 flatcap.org!ntfs
add private data to ntfs inode

(Logical change 1.493)
2004-08-12 09:23:53 +00:00