From: <enl...@li...> - 2002-04-15 22:09:03
|
Enlightenment CVS committal Author : cpk Project : e17 Module : apps/efsd Dir : e17/apps/efsd/tools Modified Files: Tag: SPLIT efsdsh.c Log Message: AAAAAAAAHHH new code :) * Fixed reporting of dead links -- a dangling symlink is correctly reported as dead-link/unknown-fs again. Seems I broke that a while ago. * Prefixed the inclusion path for the libxml2 headers with "libxml" to fix the issues reported by Alan. * Fixed a race condition in the filetype move-to-front heuristic: under high load it was possible that a matching magic description got moved to the front of the list while other checks where iterating over the list already, the matching filetype was thus not found. * efsd_misc_get_user_dir() also uses getpwuid to find out the home dir. * Moved the socket file to /tmp to avoid issues with nfs-mounted homes, as Raster had pointed out. * Added an event callback interface to libefsd to be able to register handlers instead of having to use switch-case statements. Added management code to libefsd to make these handlers per-monitor. This is completely untested yet and will probably blow up right into your face :) * Fixed a bug in efsdsh, -ls actually performs an lstat() now. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/efsd/tools/efsdsh.c,v retrieving revision 1.21 retrieving revision 1.21.2.1 diff -u -3 -r1.21 -r1.21.2.1 --- efsdsh.c 26 Nov 2001 01:06:38 -0000 1.21 +++ efsdsh.c 15 Apr 2002 22:09:01 -0000 1.21.2.1 @@ -626,7 +626,7 @@ else if (!strcmp(tok, "-ls")) { num_options++; - get_stat = 1; + get_lstat = 1; } else if (!strcmp(tok, "-t")) { |