ChangeLog 99 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058
  1. 2002-09-19 Andrew V. Samoilov <sav@bcs.zp.ua>
  2. * tcputil.c [!WITH_MCFS]: Disable mcfs related code.
  3. * mcfs.c [!WITH_MCFS]: Disable all code.
  4. 2002-09-16 Andrew V. Samoilov <sav@bcs.zp.ua>
  5. * smbfs.c: Don't define BOOL_DEFINED to fix compilation on
  6. SunOS 5.8.
  7. 2002-09-13 Andrew V. Samoilov <sav@bcs.zp.ua>
  8. * (get_stat_info): Fix some possible NULL dereferences.
  9. * smbfs.c (smbfs_set_debugf): New function to specify
  10. logfile.
  11. * smbfs.h: Declare smbfs_set_debugf().
  12. 2002-09-12 Pavel Roskin <proski@gnu.org>
  13. * mcserv.c: Declare crypt if crypt.h is missing and we are not
  14. using PAM.
  15. 2002-09-11 Andrew V. Samoilov <sav@bcs.zp.ua>
  16. * smbfs.c (statfile_helper): Merge with loaddir_helper().
  17. (get_remote_stat): Use loaddir_helper(). Care about
  18. single_entry instead of eliminated statfile_helper().
  19. * samba/libsmb/clientgen.c (cli_NetServerEnum): Add void*
  20. parameter to (*fn)() and void *state parameter.
  21. (cli_list): Likewise.
  22. (cli_RNetShareEnum): Likewise. Return int.
  23. * samba/include/proto.h: Adjust declarations.
  24. * smbfs.c: Adjust all helpers and dependencies.
  25. From Samba patchsets.
  26. * smbfs.c (loaddir_helper): Remove write permissions if file
  27. has readonly attribute. Add execute permissions for directory.
  28. Reformat whole function.
  29. (statfile_helper): Likewise.
  30. (server_browsing_helper): Add execute permissions. Reformat.
  31. (browsing_helper): Likewise.
  32. 2002-09-10 Pavel Roskin <proski@gnu.org>
  33. * vfs.h: Remove BROKEN_PATHS, it's unused.
  34. * Make-alone.am: Get rid of all standalone code, it has been
  35. unmaintained for years.
  36. 2002-09-05 Pavel Roskin <proski@gnu.org>
  37. * direntry.c [!USE_NETCODE]: Disable functions used in networked
  38. filesystems only.
  39. * vfs.c (vfs_init) [!USE_NETCODE]: Don't register fish.
  40. * ftpfs.c: Check for existance of arpa/inet.h when using it.
  41. * mcfs.c: Likewise.
  42. * mcserv.c: Likewise.
  43. * tcputil.c: Likewise.
  44. * utilvfs.c: Likewise.
  45. 2002-09-03 Pavel Roskin <proski@gnu.org>
  46. * vfs.c (vfs_get_password): Use INPUT_PASSWORD to request a
  47. password reliably.
  48. 2002-09-02 Andrew V. Samoilov <sav@bcs.zp.ua>
  49. * smbfs.c (smbfs_close): Return -1 if cli->outbuf is NULL and
  50. set my_errno to EINVAL - temporary fix. Reformat function.
  51. 2002-09-01 Andrew V. Samoilov <sav@bcs.zp.ua>
  52. * samba/param/loadparm.c: Add global_scope variable.
  53. (parm_table): Add netbios scope parameter.
  54. * samba/lib/util.c: Remove scope variable. Use global_scope instead.
  55. * samba/libsmb/nmblib.c (make_nmb_name): Remove scope parameter and
  56. use global_scope instead.
  57. * samba/libsmb/namequery.c: Adjust make_nmb_name() calls.
  58. * samba/include/proto.h: Adjust make_nmb_name() declaration.
  59. From samba 2.0.7 patchset.
  60. * samba/param/loadparm.c (lp_adduser_script): Commented out.
  61. (lp_deluser_script): Likewise.
  62. (lp_add_printer): Likewise.
  63. (lp_add_one_printer): Likewise.
  64. * samba/lib/util.c (reduce_name): Likewise.
  65. (transfer_file): Likewise.
  66. * smbfs.c (smbfs_do_connect): Adjust make_nmb_name() calls.
  67. 2002-08-26 Pavel Roskin <proski@gnu.org>
  68. * extfs/urar.in: Use rar if unrar is missing.
  69. From PLD Linux Distribution.
  70. * extfs/a: Use more portable way to redirect all output to
  71. /dev/null. From PLD Linux Distribution.
  72. 2002-08-24 Pavel Roskin <proski@gnu.org>
  73. * vfs.c (vfs_parse_ls_lga): Better error message, avoid empty
  74. error messages.
  75. 2002-08-23 Pavel Roskin <proski@gnu.org>
  76. * Makefile.am: Use mcserv_LDFLAGS, not mcserv_LDADD for the
  77. libraries.
  78. 2002-08-22 Pavel Roskin <proski@gnu.org>
  79. * mcserv.c: Remove old-style Linux-only support for shadow
  80. passwords.
  81. * Makefile.am: Remove reference to SHADOWLIB.
  82. 2002-08-21 Andrew V. Samoilov <sav@bcs.zp.ua>
  83. * ftpfs.c (dir_load): Don't handle empty remote_path in special
  84. way.
  85. 2002-08-19 Pavel Roskin <proski@gnu.org>
  86. * direntry.c (vfs_s_get_line): Fix off-by-one buffer overflow.
  87. * fish.c (pipeopen): Use _exit(), not vfs_die() to terminate the
  88. child if execvp() fails.
  89. * sfs.c: Don't use flag EXECUTE_SETUID because it's being
  90. removed as insecure and EXECUTE_WAIT because it has no effect.
  91. * extfs.c: Likewise.
  92. * mcfs.c [!WITH_MCFS]: Disable most code.
  93. 2002-08-18 Pavel Roskin <proski@gnu.org>
  94. * vfs.h: Declare vfs_timeout and tar_gzipped_memlimit.
  95. 2002-08-15 Pavel Roskin <proski@gnu.org>
  96. * vfs.c (mc_def_getlocalcopy): Preserve existing extension.
  97. * direntry.c (vfs_s_getlocalcopy): Fix potentially dangerous
  98. strcpy().
  99. * extfs.c (s_readdir): Simplify.
  100. * direntry.c (vfs_s_readdir): Use vfs_dirent.
  101. * mcfs.c (mcfs_readdir): Likewise.
  102. * smbfs.c (smbfs_readdir): Likewise.
  103. * undelfs.c (undelfs_readdir): Use vfs_dirent and
  104. compute_namelen().
  105. * vfs.h: Introduce union vfs_dirent to ensure that we have
  106. enough space for the filename.
  107. * extfs.c (s_readdir): Use vfs_dirent. Avoid strcpy().
  108. * direntry.c (vfs_s_readdir): Use compute_namelen().
  109. * extfs.c (s_readdir): Likewise.
  110. * mcfs.c (mcfs_readdir): Likewise.
  111. * smbfs.c (smbfs_readdir): Likewise.
  112. 2002-08-14 Pavel Roskin <proski@gnu.org>
  113. * vfs.h [!USE_VFS]: Declare mc_setctl as static inline function
  114. to fix warnings.
  115. 2002-08-06 Andrew V. Samoilov <kai@cmail.ru>
  116. * smbfs.c (myumask): Removed. It is only written and never read.
  117. (smbfs_init): Use PATH_SEP_STR and reformat.
  118. 2002-08-01 Pavel Roskin <proski@gnu.org>
  119. * mcserv.c: Remove all references to MAD.
  120. * vfs.c: Likewise.
  121. 2002-07-31 Andrew V. Samoilov <kai@cmail.ru>
  122. * samba/libsmb/clientgen.c (cli_send_tconX): Add missing
  123. unix_to_dos() call.
  124. (cli_printjob_del): Commented out.
  125. (cli_print_queue): Ditto.
  126. * samba/lib/system.c (sys_waitpid): Ditto.
  127. * samba/lib/util.c (reg_split_key): Ditto.
  128. (reg_get_subkey): Ditto.
  129. 2002-07-29 Andrew V. Samoilov <kai@cmail.ru>
  130. * samba/configure.in: Don't check for union semun.
  131. * samba/include/includes.h [!HAVE_UNION_SEMUN]: Don't
  132. declare union semun.
  133. 2002-07-26 Pavel Roskin <proski@gnu.org>
  134. * direntry.c (vfs_s_find_entry_linear): Canonicalize path before
  135. searching.
  136. 2002-07-25 Andrew V. Samoilov <kai@cmail.ru>
  137. * xdirentry.h (vfs_s_fh.u.fish): Add append field.
  138. * fish.c (fish_fh_open): Care about append.
  139. (linear_open): Likewise.
  140. (fish_store): Append data to target file if append is true.
  141. * mcserv.c [HAVE_MAD]: Include "../src/mad.c" at the end of
  142. file to fix compilation.
  143. (main): Add mad_init() and mad_finalize().
  144. 2002-07-19 Pavel Roskin <proski@gnu.org>
  145. * ftpfs.c: Don't use SUP.home, use SUP.cwdir.
  146. * fish.c: Likewise.
  147. (dir_load): Update SUP.cwdir.
  148. * xdirentry.h: Remove "home" field for fish and ftpfs.
  149. * xdirentry.h: Get rid of ifree(), it's equivalent to g_free().
  150. * direntry.c: Likewise.
  151. * fish.c: Likewise.
  152. * ftpfs.c: Likewise.
  153. * fish.c (fish_fill_names): New function, replacement for
  154. generic vfs_s_fill_names() which didn't work right with fish.
  155. * undelfs.c (undelfs_opendir): Use parametrized messages without
  156. VFS name for success and failure.
  157. * fish.c (dir_load): Use new messages from undelfs.c, indicate
  158. success by printing "done".
  159. * ftpfs.c (dir_load): Likewise.
  160. 2002-07-15 Pavel Roskin <proski@gnu.org>
  161. * cpio.c (cpio_read_crc_head): Undo change in the error message.
  162. * ftpfs.c: Replace bzero and bcopy with memset and memcpy.
  163. * mcfs.c: Likewise.
  164. * mcserv.c: Likewise.
  165. * smbfs.c: Likewise.
  166. * tar.c: Likewise.
  167. 2002-07-14 Pavel Roskin <proski@gnu.org>
  168. * fish.c (open_archive_int): Don't combine "export" and
  169. assignment into one command - it's not portable. Set LC_TIME
  170. to "C" as well.
  171. * fish.c (open_archive_int): Set remote locale to C, otherwise
  172. timestamps cannot be parsed in some locales.
  173. 2002-07-12 Pavel Roskin <proski@gnu.org>
  174. * fish.c (file_store): Reduce input block size to 256 bytes,
  175. otherwise dd gets partial blocks.
  176. * ftpfs.c (login_server) [HSC_PROXY]: Fix crash.
  177. * ftpfs.c (ftp_split_url): Implement looking up password in
  178. .netrc for known user.
  179. * ftpfs.c (ftp_split_url): Don't expect lookup_netrc() to always
  180. return a username.
  181. (netrc_has_incorrect_mode): Don't free anything, it can result
  182. in freeing some variables twice.
  183. (find_machine): New function to find matching "machine" or
  184. "default" token.
  185. (lookup_netrc): Eliminate external loop - scan for login and
  186. password, but don't fallback to another string in case of
  187. trouble.
  188. * ftpfs.c: Introduce enum keyword_t to improve readability.
  189. (netrc_next): Fix return value for unknown keywords.
  190. (lookup_netrc): Remove special processing of "*netrc*".
  191. * ftpfs.c (ftp_split_url): Move protection against pass being
  192. NULL ...
  193. (lookup_netrc): ... here.
  194. 2002-07-11 Pavel Roskin <proski@gnu.org>
  195. * xdirentry.h: Eliminate use_proxy field.
  196. * ftpfs.c (open_archive_int): Use SUP.proxy instead of
  197. SUP.use_proxy.
  198. (open_archive): Set SUP.proxy to ftpfs_proxy_host.
  199. * ftpfs.h: Eliminate unused structures.
  200. * vfs.h: Rename URL_DEFAULTANON to URL_ALLOW_ANON.
  201. * utilvfs.c (vfs_split_url): Return NULL as username if
  202. URL_ALLOW_ANON is set and no username is found in the URL,
  203. otherwise use current name.
  204. * ftpfs.c (ftp_split_url): New function - split URL and look up
  205. username and password if needed.
  206. (login_server): Use ftp_split_url().
  207. (archive_same): Likewise.
  208. 2002-07-10 Pavel Roskin <proski@gnu.org>
  209. * tcputil.h: Move use_netrc declaration ...
  210. * vfs.h: ... here.
  211. * ftpfs.c: Implement .netrc support unconditionally.
  212. (lookup_netrc): Make static.
  213. * utilvfs.c: Initialize default_is_netrc.
  214. From Thomas Zajic <zlatko@gmx.at>
  215. * direntry.c (vfs_s_open): Don't pass O_LINEAR to open() -
  216. this flag is for VFS only, and causes side effects in Cygwin.
  217. * extfs.c (extfs_open): Likewise.
  218. * sfs.c (sfs_open): Likewise.
  219. Reported by Pavel Tsekov <ptsekov@gmx.net>
  220. 2002-07-03 Pavel Roskin <proski@gnu.org>
  221. * ftpfs.c (setup_passive): Cast arguments to isdigit() to
  222. unsigned char for compatibility with non-GNU libc.
  223. * tar.c (from_oct): Likewise with isspace().
  224. Reported by Roland Illig <1illig@informatik.uni-hamburg.de>
  225. 2002-07-03 Andrew V. Samoilov <kai@cmail.ru>
  226. * extfs.c (extfs_fill_names): Generate filename#vfsname/dir
  227. instead of #vfsname/filename/dir. Use PATH_SEP_STR.
  228. * sfs.c (sfs_free): Fix memory leak.
  229. (sfs_init): Use PATH_SEP_STR.
  230. 2002-07-03 Pavel Roskin <proski@gnu.org>
  231. * cpio.c (cpio_open_cpio_file): Fix type initialization.
  232. From Andrew V. Samoilov <kai@cmail.ru>
  233. 2002-07-02 Pavel Roskin <proski@gnu.org>
  234. * Makefile.am: Add samba to SUBDIRS. Forcedly set DISTDIRS to
  235. extfs. Remove parts that are now handled by samba/Makefile.
  236. * samba/Makefile.in: Add more empty targets for Automake
  237. compatibility.
  238. * ftpfs.c (send_ftp_command): Use "anonymous@" as default
  239. anonymous password.
  240. From Eduardo Perez Ureta <eperez@it.uc3m.es>
  241. 2002-06-25 Pavel Roskin <proski@gnu.org>
  242. * vfs.c: Add protection against NULL strings to all is_*()
  243. functions.
  244. 2002-06-21 Andrew V. Samoilov <kai@cmail.ru>
  245. * smbfs.c: Undefine PACKAGE_BUGREPORT, PACKAGE_NAME,
  246. PACKAGE_STRING, PACKAGE_TARNAME and PACKAGE_VERSION
  247. before including "samba/include/config.h" to prevent warnings.
  248. (smbfs_init): Set DEBUGLEVEL to 0.
  249. (do_connect): Rename to ...
  250. (smbfs_do_connect): ... this to avoid namespace clash and
  251. make static. Make server const. Adjust all callers.
  252. (smbfs_add_dots): Remove.
  253. (smbfs_stat): Remove code duplication.
  254. (smbfs_lstat): Define as smbfs_stat.
  255. * samba/lib/system.c (sys_ftruncate): Commented out.
  256. * samba/lib/util.c (set_filelen): Likewise.
  257. (setbuffer): Likewise.
  258. * Makefile.am (SAMBA_DIST): Remove tests/ftruncate.c
  259. * samba/tests/ftruncate.c: Removed.
  260. * samba/configure.in: Don't check if ftruncate() can
  261. extend a file.
  262. 2002-06-06 Andrew V. Samoilov <kai@cmail.ru>
  263. * cpio.c (cpio_read_oldc_head): Use char[] for buf instead
  264. of char*[]. Remove unneeded casts. Fix error message.
  265. (cpio_create_entry): G_free name. Fix offset calculation
  266. for symbolic links.
  267. 2002-05-22 Pavel Roskin <proski@gnu.org>
  268. * Makefile.am (mcserv_SOURCES): Remove $(top_srcdir)/src/mad.c,
  269. it breaks "make distcheck".
  270. * Makefile.am: Set samba_libsamba_a_SOURCES to an empty value
  271. to override the default.
  272. 2002-05-22 Andrew V. Samoilov <kai@cmail.ru>
  273. * xdirentry.h (vfs_s_fh.u.ftp): Add append field.
  274. (vfs_s_data.file_store): Change second argument
  275. to (vfs_s_fh *fh).
  276. * direntry.c (vfs_s_close): Adjust.
  277. * fish.c (file_store): Likewise.
  278. * ftpfs.c (file_store): Likewise. Use "APPE" if
  279. fh->u.ftp.append is true.
  280. (linear_start): Care about fh->u.ftp.append.
  281. (ftpfs_fh_open): Likewise.
  282. * fish.c (fish_fh_open): Generate fh->ino->localname
  283. if this one is NULL and file is opened for writting only.
  284. * ftpfs.c (ftpfs_fh_open): Likewise if control_connection_buzy
  285. is true.
  286. 2002-05-21 Andrew V. Samoilov <kai@cmail.ru>
  287. * direntry.c (vfs_s_retrieve_file): Please, care about
  288. fish.local_stat ...
  289. * fish.c (linear_close): ... here.
  290. * ftpfs.c (linear_read): Unset control_connection_buzy
  291. on EOF.
  292. (ftpfs_fh_close): Call vfs_s_invalidate ().
  293. * fish.c (fish_fh_open): Don't retrieve file if it is
  294. opened for writting only.
  295. 2002-05-17 Andrew V. Samoilov <kai@cmail.ru>
  296. * xdirentry.h (vfs_s_super): Add control_connection_buzy
  297. field to ftp struct.
  298. * ftpfs.c (linear_start): Set control_connection_buzy.
  299. (linear_abort): Unset control_connection_buzy.
  300. (ftpfs_fh_open): Don't retrieve file if it is
  301. opened for writting only. Open data connection as
  302. fh->handle and unlink/unset local temporary file
  303. if control connection isn't buzy.
  304. (ftpfs_fh_close): New function to serve opened in
  305. ftpfs_fh_open() data connection. Unset fh->changed
  306. to prevent MEDATA->file_store() call from vfs_s_close().
  307. * direntry.c (vfs_s_read): Move MEDATA->linear_start() ...
  308. (vfs_s_open): ... here.
  309. * samba/include/includes.h: Eliminate all references to
  310. HAVE_LIBREADLINE.
  311. 2002-05-14 Andrew V. Samoilov <kai@cmail.ru>
  312. * Makefile.am (noinst_LIBRARIES): Add samba/libsamba.a
  313. if USE_SAMBA_FS is true.
  314. (libvfs-mc.a): Don't merge object files with libsamba.a.
  315. 2002-05-13 Andrew V. Samoilov <kai@cmail.ru>
  316. * Makefile.am (mcserv_SOURCES): Add $(top_srcdir)/src/mad.c.
  317. * vfs.c (MC_RENAMEOP): Make arguments const.
  318. * vfs.h (mc_rename): Adjust declaration.
  319. (mc_link): Likewise.
  320. 2002-05-11 Andrew V. Samoilov <kai@cmail.ru>
  321. * samba/configure.in: Add AC_SYS_LARGEFILE.
  322. Don't check atexit, setreuid, setregid, setegid and setluid.
  323. 2002-04-31 Pavel Roskin <proski@gnu.org>
  324. * samba/acconfig.h: Remove.
  325. * Makefile.am: Remove references to samba/acconfig.h.
  326. * samba/Makefile.in: Likewise.
  327. * samba/aclocal.m4: Remove unused test AC_DIRENT_D_OFF.
  328. * samba/configure.in: Add descriptions to AC_DEFINE calls.
  329. Remove unused tests.
  330. * samba/include/includes.h: Cleanup for the symbols that
  331. samba/configure.in doesn't define.
  332. * samba/lib/netmask.c: Likewise.
  333. * samba/include/includes.h: Eliminate all references to
  334. HAVE_EXPLICIT_LARGEFILE_SUPPORT.
  335. * samba/lib/system.c: Likewise.
  336. 2002-04-24 Andrew V. Samoilov <kai@cmail.ru>
  337. * vfs.c (vfs_print_stats): s/transfered/transferred/
  338. * samba/lib/signal.c: Remove.
  339. * samba/lib/debug.c (sig_usr2): Commented out.
  340. (sig_usr1): Likewise.
  341. * samba/lib/util_file.c (gotalarm): Commented out.
  342. (gotalarm_sig): Likewise.
  343. (do_file_lock): Likewise.
  344. (file_lock): Likewise.
  345. (file_unlock): Likewise.
  346. (startfilepwent): Likewise.
  347. (endfilepwent): Likewise.
  348. * samba/Makefile.in (SAMBAFILES): Remove lib/signal.o.
  349. * Makefile.am (SAMBA_DIST): Remove lib/signal.c.
  350. 2002-04-19 Andrew V. Samoilov <kai@cmail.ru>
  351. * vfs.c (vfs_init) [!WITH_MCFS]: Don't register mcfs.
  352. 2002-04-12 Pavel Roskin <proski@gnu.org>
  353. * extfs/trpm: update to work with rpm 4.x.
  354. Reported by m.lusini@palazzochigi.it
  355. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62306
  356. 2002-04-12 Andrew V. Samoilov <kai@cmail.ru>
  357. * cpio.c (cpio_skip_padding): Handle old ASCII format.
  358. 2002-04-08 Pavel Roskin <proski@gnu.org>
  359. * samba/configure.in: Require Autoconf 2.52 to make Debian
  360. wrapper around Autoconf happy.
  361. From Björn Eriksson <bjorn@bjornen.nu>
  362. 2002-03-06 Andrew V. Samoilov <kai@cmail.ru>
  363. * direntry.c (vfs_s_resolve_symlink): Comment out buggy code.
  364. (vfs_s_retrieve_file): Set fh->handle to -1.
  365. (vfs_s_read): Don't manipulate with FH->handle if it is -1.
  366. (vfs_s_write): Likewise.
  367. (vfs_s_close): Likewise.
  368. 2002-02-27 Andrew V. Samoilov <kai@cmail.ru>
  369. * samba/lib/debug.c: Remove syslog support.
  370. 2002-02-19 Pavel Roskin <proski@gnu.org>
  371. * Makefile.am: Don't compile mcserv if VFS is disabled.
  372. * extfs/Makefile.am: Don't install anything if VFS is disabled.
  373. * extfs.c (extfs_open): Only create a new entry if it has not
  374. been found and O_CREAT is set. Consider file as changed only
  375. if it has been successfully created.
  376. (extfs_getlocalcopy): Open file only for reading. This prevents
  377. marking file as changed. Actually use the has_changed argument.
  378. Reported by Nerijus Baliunas <nerijus@users.sourceforge.net>
  379. 2002-02-12 Pavel Roskin <proski@gnu.org>
  380. * extfs/lslR.in: Fix parsing of old entries (with year number).
  381. From Daniel Skarda <0rfelyus@atrey.karlin.mff.cuni.cz>
  382. 2002-02-08 Andrew V. Samoilov <kai@cmail.ru>
  383. * direntry.c (vfs_s_retrieve_file): Use off_t for total
  384. and stat_size.
  385. (vfs_s_resolve_symlink): Use snprintf instead of sprintf.
  386. * vfs.c (vfs_print_stats): Use off_t for have and need.
  387. Cast `have' to double to eliminate negative percent(s).
  388. Fix print_vfs_message string formats.
  389. * vfs.h (vfs_print_stats): Adjust declaration.
  390. * ftpfs.c (file_store): Use off_t for total.
  391. Fix print_vfs_message string format.
  392. 2002-02-07 Andrew V. Samoilov <kai@cmail.ru>
  393. * ftpfs.c (dir_load): Speed up cd_first calculation.
  394. (ftpfs_flushdir): Resurrect.
  395. 2002-02-06 Andrew V. Samoilov <kai@cmail.ru>
  396. * ftpfs.c (dir_load): Use "LIST -la" instead of "LIST -la ."
  397. to eliminate problem with wu-ftpd.
  398. Close sock on error. Eliminate goto.
  399. (ftpfs_chmod): Don't ignore errors.
  400. (reconnect): Restore cwdir if login_server fails.
  401. 2002-02-01 Andrew V. Samoilov <kai@cmail.ru>
  402. * ftpfs.c (translate_path): Remove leading slash(es) more
  403. carefully.
  404. (initconn): Check getsockname() return value.
  405. Eliminate goto.
  406. (linear_abort): Make ipbuf const array.
  407. 2002-01-29 Andrew V. Samoilov <kai@cmail.ru>
  408. * ftpfs.c (reconnect): New function to restore closed connection.
  409. (command): Use reconnect if EPIPE received.
  410. (dir_load): Eliminate recursion.
  411. (login_server): Constify netrcpass parameter.
  412. (is_same_dir): Constify path parameter.
  413. * samba/lib/charset.c (cp_850): Make const array.
  414. (cp_932): Ditto.
  415. (codepage_p): Likewise.
  416. * samba/lib/debug.c (priority_map): Make const array.
  417. * samba/lib/username.c (get_home_dir): Make pass auto.
  418. * samba/lib/util.c (become_daemon): Commented out.
  419. (yesno): Likewise.
  420. 2002-01-24 Pavel Roskin <proski@gnu.org>
  421. * cpio.c: Don't include glib.h directly.
  422. 2002-01-22 Pavel Roskin <proski@gnu.org>
  423. * extfs/uzip: Fix unsafe printf.
  424. Reported by Jari Karppinen <jakarppi@mail.student.oulu.fi>
  425. 2002-01-22 Andrew V. Samoilov <kai@cmail.ru>
  426. * ftpfs.c (ftpfs_chmod): Add missed '/'.
  427. 2002-01-21 Pavel Roskin <proski@gnu.org>
  428. * vfs.h: Remove all tricks with system headers, they all should
  429. be in global.h.
  430. * cpio.c: Include utilvfs.h earlier.
  431. * tar.c: Likewise.
  432. * vfs.h: Include dirent.h only if it's present.
  433. 2002-01-21 Andrew V. Samoilov <kai@cmail.ru>
  434. * vfs.h: Spelled.
  435. * vfs.c (mc_return_cwd): Fix comment. Check whatever mc_stat
  436. returns. Make mc_return_cwd static const char *.
  437. Reorder if statement to eliminate unneeded mc_stat calls.
  438. 2002-01-17 Pavel Roskin <proski@gnu.org>
  439. * vfs.h: Remove OS/2 specific code.
  440. 2002-01-11 Andrew V. Samoilov <kai@cmail.ru>
  441. * Makefile.am (AM_CFLAGS): Add -DCONFIGDIR=\""@configdir@"\"
  442. if smbfs support is enabled.
  443. * smbfs.c (smbfs_init): Use CONFIGDIR for smb.conf.
  444. 2002-01-02 Pavel Roskin <proski@gnu.org>
  445. * Makefile.am: Add *clean-local targets to take care of the
  446. samba directory.
  447. * samba/configure.in: Use explicit AC_CONFIG_AUX_DIR because
  448. this setting is not inherited from the top-level configure.
  449. 2001-12-31 Pavel Roskin <proski@gnu.org>
  450. * Make-mc.in: convert to ...
  451. * Makefile.am: ... this.
  452. * Makefile.am: rename to ...
  453. * Make-alone.am: ... this. Automake 1.5b doesn't allow Makefile
  454. and Makefile.am to coexist peacefully unless the former is
  455. generated from the later.
  456. * Make-mc.in: Remove all references to the standalone VFS.
  457. 2001-12-18 Pavel Roskin <proski@gnu.org>
  458. * extfs/ulha.in: Support for "[unknown]" and other permissions
  459. in brackets. Pass the date unchanged - mc can now deal with it.
  460. Use "lha lq" to list the archive and don't remove headers and
  461. footers of the listing.
  462. 2001-11-14 Pavel Roskin <proski@gnu.org>
  463. * undelfs.c: Use ext2_ino_t to avoid warnings with e2fsprogs
  464. 1.20 and newer.
  465. 2001-11-13 Andrew V. Samoilov <kai@cmail.ru>
  466. * samba/acconfig.h: Remove WITH_SYSLOG.
  467. * samba/lib/system.c (sys_chroot): Removed.
  468. * samba/configure.in: Remove RUNPROG. Don't check
  469. for chroot and execl functions.
  470. Remove syslog logging support.
  471. Add --with-codepagedir and --with-configdir from samba 2.2.2.
  472. * samba/Makefile.in: Use configdir and codepagedir.
  473. 2001-11-08 Pavel Roskin <proski@gnu.org>
  474. * Make-mc.in (SAMBA_DIST): Remove lib/getsmbpass.c.
  475. 2001-11-05 Andrew V. Samoilov <kai@cmail.ru>
  476. * smbfs.c (smbfs_add_dots): New function. Insert a "." and ".."
  477. entries into the linked list.
  478. (smbfs_loaddir): Call smbfs_add_dots for shares or servers.
  479. (smbfs_get_free_bucket): Eliminate time.
  480. (fake_share_stat): Make path const.
  481. * samba/configure.in: Don't check whether getpass
  482. should be replaced.
  483. 2001-11-02 Andrew V. Samoilov <kai@cmail.ru>
  484. * vfs.c (mc_return_cwd): Memory leak fixed.
  485. 2001-11-01 Andrew V. Samoilov <kai@cmail.ru>
  486. * samba/smblib/pwd_cache.c (pwd_read): Commented out.
  487. * samba/Makefile.in (SAMBAFILES): Remove lib/getsmbpass.o.
  488. * samba/lib/getsmbpass.c: Removed.
  489. 2001-10-30 Andrew V. Samoilov <kai@cmail.ru>
  490. * smbfs.c: Include <config.h> before everything else.
  491. Don't include "tcputil.h".
  492. (myhostname): Declare extern.
  493. (loaddir): Symplify.
  494. (fake_share_stat): Declare server_url const.
  495. Use "%4o" for st_mode.
  496. (fake_server_stat): Likewise. Return -1 if server_list != True.
  497. (get_master_browser): Declare ipzero extern.
  498. By David Kaelbling <drk@sgi.com>.
  499. http://bugzilla.gnome.org/show_bug.cgi?id=60933
  500. * cpio.c (cpio_read_bin_head): Release name if mc_read fails.
  501. (cpio_read_crc_head): Likewise.
  502. 2001-10-25 Andrew V. Samoilov <kai@cmail.ru>
  503. * cpio.c (cpio_read_crc_head): Fix buffer overflow.
  504. (cpio_read_oldc_head): Likewise.
  505. By David Kaelbling <drk@sgi.com>.
  506. http://bugzilla.gnome.org/show_bug.cgi?id=60933
  507. * (cpio_read_oldc_head): Release name if mc_read fails.
  508. 2001-10-24 Andrew V. Samoilov <kai@cmail.ru>
  509. * tcputil.c (rpc_get): Add missing va_end()s.
  510. Fix memory leaking.
  511. * smbfs.h: Declare smbfs_set_debug.
  512. 2001-10-20 Pavel Roskin <proski@gnu.org>
  513. * ftpfs.c (command): Declare with the printf attribute.
  514. * undelfs.c: Remove declaration of print_vfs_message().
  515. * fish.c (file_store): Fix incorrect format string
  516. for print_vfs_message().
  517. * ftpfs.c (file_store): Likewise.
  518. 2001-10-19 Pavel Roskin <proski@gnu.org>
  519. * fish.c (command): Declare with the printf attribute to enable
  520. warnings in gcc.
  521. (file_store): Cast all expressions with file sizes to unsigned
  522. long. This should fix uploading when large file support is on.
  523. File size is limited to 4096 * ULONG_MAX for now.
  524. 2001-10-18 Andrew V. Samoilov <kai@cmail.ru>
  525. * samba/configure.in: Don't check readline.h, history.h and
  526. libreadline.
  527. 2001-10-16 Andrew V. Samoilov <kai@cmail.ru>
  528. * samba/libsmb/clientgen.c (cli_RNetShareEnum): Fix Win2k
  529. "out of server memory" error. From samba 2.0.7 patchset.
  530. 2001-10-07 Pavel Roskin <proski@gnu.org>
  531. * vfs.c (vfs_parse_filetype): Fix fallback to fifo if sockets
  532. are not supported locally. Support Solaris doors, also fall
  533. back to fifo.
  534. 2001-10-02 Andrew V. Samoilov <kai@cmail.ru>
  535. * sfc.c (sfs_getid): Don't use vfs_die(), return (vfsid)(-1)
  536. instead.
  537. 2001-10-01 Pavel Roskin <proski@gnu.org>
  538. * vfs.h [!USE_VFS]: Define macros with no effect to an empty
  539. statement "do { } while (0)".
  540. 2001-09-30 Pavel Roskin <proski@gnu.org>
  541. * samba/acconfig.h: Only leave symbols required by Autoconf-2.52.
  542. 2001-09-17 Pavel Roskin <proski@gnu.org>
  543. * vfs.c: Manually expand macros for mc_stat(), mc_lstat() and
  544. mc_fstat() because they don't expand correctly on Solaris 8 with
  545. large file support.
  546. 2001-09-10 Pavel Roskin <proski@gnu.org>
  547. * Make-mc.in: Use USE_VFS conditional instead of relying on
  548. LIBVFS.
  549. 2001-09-07 Pavel Roskin <proski@gnu.org>
  550. * Make-mc.in: Include necessary parts of Make.common to
  551. eliminate the later.
  552. 2001-08-23 Pavel Roskin <proski@gnu.org>
  553. * names.c (finduname): Don't use HAVE_GETPWUID - it's never
  554. defined. Don't redeclare getpwuid().
  555. (findgname): Don't use HAVE_GETGRGID - it's never defined.
  556. Don't redeclare getgrgid().
  557. * fish.c: Remove useless semicolons after functions.
  558. 2001-08-19 Pavel Roskin <proski@gnu.org>
  559. * vfs.c (vfs_parse_ls_lga): Warning fix if st_nlink is unsigned.
  560. Disallow st_nlink = 0.
  561. 2001-08-18 Pavel Roskin <proski@gnu.org>
  562. * cpio.c (cpio_read_head): Check return value of cpio_find_head,
  563. because it's not equal to super->u.cpio.type in case of errors.
  564. 2001-08-16 Pavel Roskin <proski@gnu.org>
  565. * direntry.c (vfs_s_free_super): Remove i18n on commented out
  566. developer-only code.
  567. * extfs.c (extfs_init): Internationalize error message, it's
  568. already in sfs.c.
  569. 2001-08-11 Pavel Roskin <proski@gnu.org>
  570. * sfs.c (sfs_init): Use g_free(), not free() on mc_sfsini.
  571. 2001-08-07 Pavel Roskin <proski@gnu.org>
  572. * extfs.h: Move private structures ...
  573. * extfs.c: ... here.
  574. * extfs.h (struct entry): Remove unused `has_changed' field.
  575. It's only written but never read.
  576. (struct inode): Likewise.
  577. * extfs.c: All dependencies changed.
  578. (extfs_open): Mark file as changed if it's open for writing.
  579. 2001-08-07 Oskar Liljeblad <osk@hem.passagen.se>
  580. * extfs/uzip: Update to version 1.4.0.
  581. * extfs/README.uzip: Likewise.
  582. 2001-08-06 Andrew V. Samoilov <kai@cmail.ru>
  583. * smbfs.c: Eliminate smbfs_get_free_bucket_init. convert_path
  584. gives malloced filename, so this memory must be released after use.
  585. (reconnect): Fix segmentation fault.
  586. (smbfs_loadddir): Don't g_strdup path.
  587. (smbfs_get_free_bucket): Eliminate smbfs_get_free_bucket_init and
  588. smbfs_connections initialisation.
  589. (smbfs_open_link): Likewise. Release host after get_master_browser.
  590. (get_stat_info): Fix unneeded g_strdup/g_free calls.
  591. (smbfs_mkdir): Release path after use.
  592. (smbfs_mkdir): Likewise.
  593. (smbfs_open): Fix memory leak.
  594. (smbfs_unlink): Likewise. Fix error message.
  595. (smbfs_rename): Fix memory leaks.
  596. (smbfs_stat): Fix url parsing.
  597. * samba/lib/charcnv.c (unix2dos_format): Fix possible buffer overflow.
  598. (dos2unix_format): Likewise.
  599. * ftpfs.c (ftpfs_fill_names): New function.
  600. (vfs_ftpfs_ops): Use ftpfs_fill_names insted of vfs_s_fill_names.
  601. 2001-08-03 Andrew V. Samoilov <kai@cmail.ru>
  602. * utilvfs.c, vfs.h (vfs_split_url): Make path parameter const.
  603. * xdirentry.h (struct vfs_s_super): Remove u.ftp.result_pending field.
  604. * ftpfs.h (struct connection): Remove result_pending field.
  605. * samba/libsmb/clientgen.c (cli_chkpath): Fix possible buffer overflow.
  606. * smbfs.c (new_dir_entry): New function with repeated code from
  607. browsing_helper, loaddir_helper and server_browsing_helper.
  608. (browsing_helper): Use new_dir_entry.
  609. (loaddir_helper): Likewise.
  610. (server_browsing_helper): Likewise.
  611. (cached_lstat_info): Eliminated.
  612. (smbfs_readdir): Make dirent_dest static const.
  613. Eliminate cached_lstat_info.
  614. (smbfs_open_link): Make user parameter const. Fix memory leak.
  615. (fake_server_stat): Make path parameter const. Symplify.
  616. (smbfs_fstat): Set my_errno to EFAULT before return.
  617. 2001-08-01 Pavel Roskin <proski@gnu.org>
  618. * Make-mc.in: Make it possible to run "make install" before
  619. "make all". Use more Automake-compatible target names.
  620. 2001-08-01 Andrew V. Samoilov <kai@cmail.ru>
  621. * smbfs.c: Undefine VERSION to prevent warning. Comments fixes.
  622. (do_connect): Symplify.
  623. (get_stat_info): Symplify. Eliminate another fake_stat.
  624. (smbfs_chdir): Release remote_dir after use.
  625. (smbfs_stat): Likewise. Fix another 2 memory leaks.
  626. (smbfs_mkdir): Release remote_file after use.
  627. (smbfs_rmdir): Likewise.
  628. (smbfs_open): Likewise. Indentation fixes.
  629. (smbfs_unlink): Likewise.
  630. (smbfs_rename): Release rb and ra after use.
  631. (search_dir_entry): Make text parameter const.
  632. (smbfs_get_host_and_username): Make macro.
  633. 2001-07-20 Pavel Roskin <proski@gnu.org>
  634. * extfs.c (extfs_init) [GTK]: Use mc_home instead of LIBDIR.
  635. From Ludovic Drolez <ludovic.drolez@freealter.com>.
  636. 2001-07-17 Pavel Roskin <proski@gnu.org>
  637. * vfs.c (mc_return_cwd): Use g_get_current_dir().
  638. 2001-07-15 Pavel Roskin <proski@gnu.org>
  639. * smbfs.c: Rename authinfo to smb_authinfo and
  640. authinfo_get_authinfo_from_user() to vfs_smb_get_authinfo()
  641. and remove their definitions.
  642. * vfs.h: Declare smb_authinfo and vfs_smb_get_authinfo().
  643. 2001-07-10 Pavel Roskin <proski@gnu.org>
  644. * extfs.c: Include contents of shared_tar_ext.c - it's no
  645. longer shared.
  646. * shared_tar_ext.c: Remove.
  647. * Make-mc.in (VFSSRCS): Remove shared_tar_ext.c.
  648. * smbfs.c (vfs_smbfs_ops): Use short name "smbfs" for the
  649. filesystem. Don't translate it.
  650. 2001-07-09 Pavel Roskin <proski@gnu.org>
  651. * tar.c (ReadStatus): Fix compilation on AIX.
  652. From Dan McNichol <mcnichol@austin.ibm.com>.
  653. * extfs/mailfs: Strip trailing DOS newlines from mail files.
  654. From Christian Gennerat <christian.gennerat@vz.cit.alcatel.fr>
  655. * fish.c (fish_chown): Do nothing and return success if
  656. getpwuid() or getgrgid() fails.
  657. 2001-07-05 Pavel Roskin <proski@gnu.org>
  658. * README.fish: Spelling fixes.
  659. 2001-06-29 Pavel Roskin <proski@gnu.org>
  660. * Make-mc.in: Don't ever link mcserv with libintl - it must not
  661. depend on it.
  662. 2001-06-27 Andrew V. Samoilov <sav@bcs.zp.ua>
  663. * smbfs.c: Include <config.h>. Make all internal variables static.
  664. (get_stat_info): Eliminate fake_stat, memory leak fixed.
  665. (IPC, URL_HEADER): Make static const.
  666. (smbfs_stat): Fix segmentation violation.
  667. (statfile_helper): Allocate memory for single_entry once. It is never
  668. freed now, and only my_stat element of this structure is used.
  669. 2001-06-26 Pavel Roskin <proski@gnu.org>
  670. * vfs.h: Don't include <config.h>.
  671. 2001-06-25 Pavel Roskin <proski@gnu.org>
  672. * cpio.c: Include <config.h> before everything else.
  673. * direntry.c: Likewise.
  674. * fish.c: Likewise.
  675. * ftpfs.c: Likewise.
  676. * local.c: Likewise.
  677. * tar.c: Likewise.
  678. * utilvfs.h: Don't include <config.h> - it should be included
  679. in all C files instead.
  680. * xdirentry.h: Likewise.
  681. 2001-06-19 Pavel Roskin <proski@gnu.org>
  682. * local.c (local_telldir): Warn and abort if telldir() is not
  683. available.
  684. (local_seekdir): Warn and abort if seekdir() is not available.
  685. 2001-06-18 Pavel Roskin <proski@gnu.org>
  686. * tcputil.c (sig_pipe): Use the same declaration with one int
  687. argument - it's used everywhere else and it fixes a warning on
  688. systems unlisted in the ifdef, e.g. OpenBSD.
  689. 2001-06-14 Pavel Roskin <proski@gnu.org>
  690. * ftpfs.c: Declare functions without declarations static. Don't
  691. omit `void' in declarations.
  692. * cpio.c: Likewise.
  693. * direntry.c: Likewise.
  694. * extfs.c: Likewise.
  695. * mcfs.c: Likewise.
  696. * tar.c: Likewise.
  697. * vfs.c: Likewise.
  698. * vfs.h: Likewise.
  699. * mcserv.c: Likewise. Remove unused functions.
  700. * util-alone.c: Use indented #error.
  701. * vfs.h: Use indented #warning instead of hiding it from non-gcc
  702. compilers.
  703. 2001-06-11 Pavel Roskin <proski@gnu.org>
  704. * cpio.c (vfs_cpiofs_ops): Use short name for the filesystem.
  705. This avoids creating long filenames in dirent.c when the "name"
  706. field is used.
  707. * extfs.c (vfs_extfs_ops): Likewise.
  708. * fish.c (vfs_fish_ops): Likewise.
  709. * ftpfs.c (vfs_ftpfs_ops): Likewise.
  710. * local.c (vfs_local_ops): Likewise.
  711. (vfs_nil_ops): Likewise.
  712. * mcfs.c (vfs_mcfs_ops): Likewise.
  713. * sfs.c (vfs_sfs_ops): Likewise.
  714. * tar.c (vfs_tarfs_ops): Likewise.
  715. * undelfs.c (vfs_undelfs_ops): Likewise.
  716. 2001-06-07 Pavel Roskin <proski@gnu.org>
  717. * sfs.c (sfs_init): Change some warning messages to simplify
  718. their translation.
  719. 2001-06-06 Pavel Roskin <proski@gnu.org>
  720. * shared_ftp_fish.c: Remove.
  721. * Make-mc.in: Remove shared_ftp_fish.c.
  722. * Makefile.am: Likewise.
  723. 2001-06-02 Pavel Roskin <proski@gnu.org>
  724. * vfs.c (vfs_canon): s/canonize/canonicalize/.
  725. 2001-06-01 Andrew V. Samoilov <sav@bcs.zp.ua>
  726. * ftpfs.h: Declare use_netrc, ftpfs_retry_seconds, ftpfs_first_cd_then_ls,
  727. ftpfs_use_passive_connections and ftpfs_use_unix_list_options.
  728. * vfs.c [VFS_STANDALONE]: Undefine WITH_SMBFS, they are mutually
  729. exclusive now.
  730. (is_week): Unmade week static.
  731. (is_month): Unmade month static.
  732. (vfs_parse_ls_lga): Optimize memory usage.
  733. * .cvsignore: *.sor added.
  734. * sfs.c (sfs_init): Optimized.
  735. * vfs/samba/lib/util_sock.c (socket_options): Made static const.
  736. 2001-05-30 Ludovic Drolez <ludovic.drolez@freealter.com>
  737. * sfs.c (sfs_init): Don't hardcode location of sfs.ini,
  738. use mc_home to make mc relocatable.
  739. * util-alone.c (shell): ... here
  740. 2001-05-27 Pavel Roskin <proski@gnu.org>
  741. * fish.c: Redirect stderr of all commands to /dev/null.
  742. 2001-05-25 Pavel Roskin <proski@gnu.org>
  743. * sfs.c (vfs_sfs_ops): Typo fix.
  744. 2001-05-22 Pavel Roskin <proski@gnu.org>
  745. * vfs.c (vfs_split_text): Fill `columns' with zeroes before
  746. writing new data into it.
  747. * fish.c (free_archive): Use `exit' instead of `logout' - the
  748. later fails under non-login shells.
  749. (pipeopen): Redirect stderr of ssh to /dev/null.
  750. From Rich Roth:
  751. (dir_load): Redirect stderr of ls to /dev/null.
  752. (linear_start): Likewise.
  753. 2001-05-22 Andrew V. Samoilov <sav@bcs.zp.ua>
  754. * Make-mc.in (mostlyclean): Remove $(VFSSOOBJS).
  755. (clean): Remove *.so.
  756. * smbfs.c: Include utilvfs.h instead of ../config.h, ../src/main.h,
  757. ../src/tty.h and ../src/global.h.
  758. (password, username): Made static.
  759. (is_error): Commented out.
  760. (loaddir_helper): Don't ignore hidden files, style fixes.
  761. (browsing_helper): typestr declared as char *, fstrcpy replaced by =.
  762. (do_connect): Call cli_shutdown () and authinfo_remove () if
  763. cli_session_setup () fails. It is not good idea to remember
  764. wrong username/password.
  765. (smbfs_free_dir): Nested between #ifdef SMBFS_FREE_DIR ... #endif.
  766. (smbfs_readdir): #ifdef SMBFS_FREE_DIR used instead of C comment.
  767. 2001-05-22 Pavel Roskin <proski@gnu.org>
  768. * sfs.c (redirect): Don't free the filename after failed
  769. mc_mkstemps() - it's not needed anymore.
  770. 2001-05-21 Pavel Roskin <proski@gnu.org>
  771. * direntry.c (vfs_s_open): Use mc_mkstemps. Create and close
  772. temporary file to reserve its name on the filesystem.
  773. (vfs_s_retrieve_file): Use mc_mkstemps().
  774. (g_tempnam): Remove.
  775. * extfs.c (extfs_open): Use mc_mkstemps().
  776. * sfs.c (redirect): Likewise.
  777. * shared_ftp_fish.c (_get_file_entry): Likewise.
  778. (retrieve_file): Likewise.
  779. * vfs.c (mc_def_getlocalcopy): Likewise.
  780. * xdirentry.h: Remove declaration of g_tempnam().
  781. 2001-05-18 Pavel Roskin <proski@gnu.org>
  782. * vfs.c (vfs_addstamp): Rename st1 to last_stamp. Initialize it
  783. with NULL to suppress compiler warning.
  784. 2001-05-14 Pavel Roskin <proski@gnu.org>
  785. * ftpfs.c: Warning fixes.
  786. * utilvfs.h: Include background.h.
  787. * cpio.c: Include utilvfs.h.
  788. 2001-05-14 Pavel Machek <pavel@bug.ucw.cz>
  789. * Make-mc.in: add possibility to build libvfs.so
  790. 2001-04-19 Pavel Roskin <proski@gnu.org>
  791. * extfs/rpm (mcrpmfs_list): Use cpio for the listing since the
  792. rpm output varies between versions.
  793. (mcrpmfs_copyout): Fix processing of CONTENTS.cpio. Match
  794. filenames beginning with "./" - they are used in the version 4
  795. packages.
  796. 2001-04-17 Pavel Roskin <proski@gnu.org>
  797. * fish.c (open_archive_int): Redirect stderr of start_fish_server
  798. to stdout so we don't get confused if it doesn't exist.
  799. 2001-04-09 Andrew V. Samoilov <sav@bcs.zp.ua>
  800. * samba/includes/proto.h, samba/libsmb/nterr.c (get_nt_error): return
  801. NULL when appropriative error message can't be found as it is expected
  802. in cli_errstr(). Return type changed to const char *
  803. * smbfs.c (smbfs_fill_names): implemented
  804. (smbfs_stat): unneeded g_strdup/g_free calls removed
  805. (smbfs_loaddir): memory leaking fixed
  806. * samba/libsmb/clientgen.c (rap_errmap, prots): constified
  807. 2001-04-06 Pavel Roskin <proski@gnu.org>
  808. * Make-mc.in: Use a single variable SAMBA_DIST to hold all
  809. distributable samba files.
  810. 2001-03-15 Andrew V. Samoilov <sav@bcs.zp.ua>
  811. * samba/libsmb/smbdes.c: undefine uchar before redefine it
  812. * smbfs.c (smbfs_close): honour changed semantics for return value
  813. (on error -1 is expected).
  814. * (fs): it is at least strange use char * for counter. Changed to int
  815. 2001-03-14 Pavel Roskin <proski@gnu.org>
  816. * Make-mc.in: Use Automake conditional USE_SAMBA_FS.
  817. Remove any knowledge of SAMBAFILES. Merge object files with
  818. libsamba.a if USE_SAMBA_FS is true. Propagate "mostlyclean"
  819. to the `samba' directory. Don't ignore errors from ranlib.
  820. * samba/Makefile.in: Make *clean targets Automake-compatible.
  821. Don't ignore errors from `rm'.
  822. * samba/configure.in: Use AC_CHECK_TOOL to find AR.
  823. * samba/Makefile.in: Remove useless rules, including defunct
  824. dependency tracking. Create libsamba.a from the object files.
  825. 2001-03-07 Pavel Roskin <proski@gnu.org>
  826. * cpio.c (cpio_skip_padding): Warning fix.
  827. * fish.c (dir_load): Likewise.
  828. * mcfs.c: Likewise.
  829. * extfs/uzip: New file from Oskar Liljeblad.
  830. * extfs/README.uzip: Likewise.
  831. * extfs/Makefile.am: Adjust for constant uzip.
  832. 2001-03-07 Pavel Machek <pavel@bug.ucw.cz>
  833. * extfs/*uzip*: replace uzip with perl version by
  834. Oskar Liljeblad <osk@hem.passagen.se>
  835. 2001-03-05 Andrew V. Samoilov <sav@bcs.zp.ua>
  836. * vfs.[ch] (vfs_parse_ls_lga, vfs_parse_filemode): p constified
  837. (vfs_strip_suffix_from_filename): filename constified
  838. (vfs_parse_ls_lga): memory leaking fixed when line can't be parsed,
  839. chomping unified
  840. 2001-03-04 Andrew V. Samoilov <sav@bcs.zp.ua>
  841. * extfs/patchfs: LANG overrides LC_TIME at least in glibc,
  842. so use LC_ALL=C to override any locale
  843. * smbfs.c (smbfs_open_link): service initialized
  844. * (my_forget): new features of vfs_split_url used
  845. 2001-03-01 Pavel Roskin <proski@gnu.org>
  846. * extfs/uzip.in (mczipfs_list): Allow filenames with colons.
  847. Reported by Christian Gennerat.
  848. 2001-02-28 Pavel Machek <pavel@bug.ucw.cz>
  849. * vfs.c (mc_def_ungetlocalcopy): Cleanup of error handling.
  850. 2001-02-27 Pavel Machek <pavel@bug.ucw.cz>
  851. * vfs.c (mc_ungetlocalcopy): Do not ignore errors. (Courtesy of
  852. "K. Leif D. Van Horn" <leif@kaivo.com>)
  853. 2001-02-23 Pavel Roskin <proski@gnu.org>
  854. * extfs/lslR (mclslRfs_list): Don't use gawk-specific features.
  855. Don't hardcode gawk. Don't rely on the date format occupying a
  856. fixed number of fields.
  857. * extfs/uzip.in (mczipfs_list): Don't check zipinfo support on
  858. the real file - check usage info instead. Use more robust checks
  859. for valid lines. Suppress stderr from unzip. Workaround for jar
  860. files - fix mode for files ending with slash.
  861. 2001-02-20 Pavel Roskin <proski@gnu.org>
  862. * vfs.h: Include sys/timeb.h if it's present. Include time.h and
  863. sys/time.h as recommended by Autoconf documentation.
  864. * cpio.c: Remove all time-related includes - they are in vfs.h.
  865. * extfs.c: Likewise.
  866. * ftpfs.c: Likewise.
  867. * mcfs.c: Likewise.
  868. * mcserv.c: Likewise.
  869. * tar.c: Likewise.
  870. * util-alone.c: Likewise.
  871. * vfs.c: Likewise. Include xdirentry.h.
  872. * extfs.c: Include xdirentry.h. Undefine ERRNOR before
  873. redefining it.
  874. 2001-02-19 Pavel Roskin <proski@gnu.org>
  875. * shared_tar_ext.c (__find_entry): Make sure that the parent is a
  876. directory even if the child is not.
  877. * extfs/mailfs (parse_date): Correctly handle two-digit years
  878. between 1970 and 1999.
  879. 2001-02-14 Pavel Roskin <proski@gnu.org>
  880. * vfs.c (vfs_parse_filedate): Don't reset got_year to 0 while
  881. checking for ctime() format.
  882. From Peter Daum.
  883. 2001-02-11 Pavel Roskin <proski@gnu.org>
  884. * extfs/mailfs (parse_date): Workaround for Y2K bugs. Support
  885. for dates found in AOLMail(SM) messages. Accept single-digit
  886. hours and missing seconds. Provide a fallback if cannot parse
  887. the date.
  888. (process_header): Typo fix. Use \s instead of space in regular
  889. expressions.
  890. 2001-02-10 Pavel Roskin <proski@gnu.org>
  891. * extfs/uzip.in: Preserve permissions of FAT and NTFS archives,
  892. including the directory bit. This fixes crashes on some FAT
  893. archives.
  894. 2001-02-09 Pavel Roskin <proski@gnu.org>
  895. * samba/configure.in: Remove more useless tests.
  896. * samba/tests/crypttest.c: Remove.
  897. * samba/tests/fcntl_lock.c: Likewise.
  898. * samba/tests/shared_mmap.c: Likewise.
  899. * samba/tests/sysv_ipc.c: Likewise.
  900. * samba/samba-files: Likewise.
  901. * samba/smbadduser: Likewise.
  902. * Make-mc.in: Adjust for the above.
  903. * samba/include/includes.h: Removed definitions related to the
  904. above tests.
  905. * Make-mc.in: Eliminate ubiqx.
  906. * samba/Makefile.in: Likewise. Remove some unused variables.
  907. * samba/include/includes.h: Eliminate dependency on ubiqx.
  908. * samba/include/nameserv.h: Likewise.
  909. * samba/include/proto.h: Remove prototypes from nmbd/*.
  910. * samba/ubiqx/*: Remove.
  911. * samba/configure.in: More useless stuff removed.
  912. * samba/Makefile.in: Likewise.
  913. * Make-mc.in: Remove samba/smbwrapper directory.
  914. * samba/smbwrapper/smbw.h: Remove.
  915. * samba/include/includes.h: Don't include smbw.h.
  916. * samba/configure.in: Don't check for things that are unused.
  917. Remove support for building shared libraries.
  918. * samba/Makefile.in: Remove support for shared libraries and
  919. quota.
  920. * samba/configure.in: Don't check for any 64-bit functions and
  921. syscall() - they are not needed.
  922. * samba/configure.in: Remove the test for
  923. HAVE_EXPLICIT_LARGEFILE_SUPPORT, since it's incompatible with
  924. the rest of the source that doesn't use explicit 64-bit calls.
  925. * Make-mc.in: Always check for samba/Makefile before descending
  926. there. Don't ever ignore errors from "cd". Use $(MAKE), not
  927. make. Formatting changes.
  928. 2001-02-08 Pavel Roskin <proski@gnu.org>
  929. * Make-mc.in: Undo previous fix. Don't run "make clean" in
  930. samba/ if samba/Makefile is missing.
  931. * Make-mc.in: Don't run "make clean" in samba/ as samba/Makefile
  932. may be missing. Clean using the rule from samba/Makefile.in.
  933. * cpio.c: Eliminate C++ comments.
  934. * fish.c: Likewise.
  935. * Make-mc.in: Use mkinstalldirs to create $(distdir)/extfs,
  936. since CVS Automake already creates that directory.
  937. * Make-mc.in: Don't add _LARGEFILE64_SOURCE to CFLAGS without
  938. testing - it breaks on HP-UX 10.20.
  939. 2001-02-07 Pavel Roskin <proski@gnu.org>
  940. * Make-mc.in: Don't distribute samba/tests/trapdoor.c and
  941. samba/tests/ftruncroot.c.
  942. * samba/configure.in: Remove tests for setresuid and setresgid.
  943. * samba/include/includes.h: Remove declarations of setresuid and
  944. setresgid.
  945. * samba/configure.in: Don't check for root permissions. Don't
  946. call tests/trapdoor.c and tests/ftruncroot.c.
  947. * samba/tests/trapdoor.c: Remove.
  948. * samba/tests/ftruncroot.c: Likewise.
  949. * samba/tests/summary.c: Don't warn about trapdoor uid systems.
  950. * Make-mc.in: Don't link container.o into libvfs-mc.a - it's
  951. not used.
  952. * samba/aclocal.m4: Fix underquoting.
  953. * samba/configure.in: Fix underquoting. Don't use loff_t as the
  954. second argument to AC_CHECK_TYPE - it's not a builtin type.
  955. * samba/configure.in: Remove checks for statvfs and friends -
  956. they are irrelevant to the client code.
  957. * samba/tests/summary.c: Likewise.
  958. 2000-12-15 Andrew V. Samoilov <sav@bcs.zp.ua>
  959. * extfs/urar.in (list): better solution to prevent duplication
  960. 2000-12-14 Andrew V. Samoilov <sav@bcs.zp.ua>
  961. * extfs/urar.in (LC_ALL): set to C to prevent localization,
  962. (mcrarfs_list): directories placed first to prevent duplication
  963. 2000-10-31 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  964. * ftpfs.c (dir_load): From Roland Mainz
  965. <Roland.Mainz@informatik.med.uni-giessen.de>: add '.' and '..'
  966. directories
  967. * *.c: From Roland: it is not possible to g_free() something
  968. allocated by strdup(), because g_malloc might be different for
  969. malloc. Therefore wrapped strdup into g_strdup() wrapper.
  970. 2000-10-22 Andrew V. Samoilov <sav@bcs.zp.ua>
  971. * samba/libsmb/nterr.c (nt_errs): constified
  972. * samba/libsmb/smberr.c (dos_msgs, server_msgs, hard_msgs,
  973. err_classes): ditto
  974. (smb_errstr): err constified to avoid warnings
  975. 2000-10-16 Andrew V. Samoilov <sav@bcs.zp.ua>
  976. * ftpfs.c (open_data_connection): don't generate //filename, some
  977. ftp servers can't store it;
  978. (command): g_strdup_vprintf() and g_strconcat() replaced
  979. by g_strdup_vprintf(), g_realloc() and strcpy()
  980. to reduce memory usage when trailing "\r\n" added;
  981. (ftpfs_set_debug, ftp_data): ftp_data.logfile assigned with logfile
  982. value to log servers replies
  983. 2000-10-09 Andrew V. Samoilov <sav@bcs.zp.ua>
  984. * sfs.c (redirect): temporary file unlinked on error;
  985. (sfs_init): warnings are localized
  986. 2000-10-05 Pavel Roskin <proski@gnu.org>
  987. * extfs/rpm: If rpm indicates an error create a virtual file
  988. ERROR and put error messages there.
  989. 2000-09-25 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  990. * extfs/mcunarj.diff: better version from Christian Gennerat
  991. <christian.gennerat@vz.cit.alcatel.fr>
  992. 2000-09-21 Pavel Roskin <proski@gnu.org>
  993. * extfs/uzoo.in: Suppress output from grep. Don't use '~',
  994. use $HOME instead - it's more portable.
  995. 2000-08-24 Pavel Roskin <proski@gnu.org>
  996. * extfs/Makefile.am: all scripts should be executable
  997. 2000-09-18 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  998. * extfs/patchfs (LC_TIME): patch by Martin Bialasinski:
  999. override locale for dates
  1000. 2000-09-14 Pavel Machek <pavel@bug.ucw.cz>
  1001. * vfs.c, extfs/{a,extfs.ini}: Improved /#a filesystem
  1002. 2000-09-14 Pavel Roskin <proski@gnu.org>
  1003. * Make-mc.in: direntry.c was listed twice in VFSSRCS
  1004. * Make-mc.in: removed commands to build standalone libvfs -
  1005. they are now in Makefile.am. Create links in the build
  1006. directory - source directory may be read-only. Removed hack
  1007. with mcservx - it's no longer needed.
  1008. * ftpfs.h: include "xdirentry.h" instead of "vfs/xdirentry.h"
  1009. 2000-09-05 Pavel Roskin <proski@gnu.org>
  1010. * Make-mc.in: don't ignore errors in the distdir target
  1011. 2000-08-24 Pavel Roskin <proski@gnu.org>
  1012. * extfs/Makefile.am: new file
  1013. * Make-mc.in: remove stuff pertinent to the extfs directory
  1014. 2000-08-24 Pavel Roskin <proski@gnu.org>
  1015. * Make-mc.in: don't ignore error installing mcserv.
  1016. Create directories before installing into them.
  1017. 2000-08-18 Pavel Roskin <proski@gnu.org>
  1018. * Make-mc.in: adjusted lists of distributed files.
  1019. Makefile rebuilding fixed.
  1020. 2000-08-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1021. * ftpfs.c (dir_load): taken it out, it needs to correctly provide
  1022. parent, this way it breaks things.
  1023. * uzip.in: change by Dmitry Borodaenko <d.borodaenko@belcaf.com> to
  1024. display zip files in fat and ntf formats
  1025. 2000-08-04 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1026. * ftpfs.c (dir_load): add . and .. to ftpfs listings, courtesy of
  1027. Roland.Mainz@informatik.med.uni-giessen.de
  1028. * util-alone.c (message_1s1d): added missing function
  1029. 2000-08-03 Pavel Roskin <proski@gnu.org>
  1030. * undelfs.h: Removed
  1031. 2000-08-02 Pavel Roskin <proski@gnu.org>
  1032. * Make-mc.in: Filters apt, audio, deba, debd and dpkg are now
  1033. distributed. Added some comments to prevent future errors.
  1034. "make distclean" now cleans generated filters.
  1035. * samba/configure.in: Fixed sloppy output. The fix also sent to
  1036. the Samba team.
  1037. * samba/include/stamp-h.in: Added to CVS.
  1038. 2000-05-23 Andrew V. Samoilov <sav@bcs.zp.ua>
  1039. * vfs.c (mc_[un]def_getlocalcopy): better error handling on writing
  1040. 2000-05-18 Andrew V. Samoilov <sav@bcs.zp.ua>
  1041. * ftpfs.c: (my_get_host_and_username) space between macro name and
  1042. parentheses removed
  1043. 2000-05-15 Andrew V. Samoilov <sav@bcs.zp.ua>
  1044. * tar.c (read_header): memory leaking for empty symlink's names fixed
  1045. * utilvfs.c (vfs_split_url): *host is not assigned if host is null
  1046. * ftpfs.c (login_server): new features of vfs_split_url () used,
  1047. my_get_host_and_username became macro
  1048. * vfs.c (mc_opendir, mc_chdir): unneeded calls to concat_dir_and_file
  1049. removed (vfs_canon removes trailing '/')
  1050. * sfs.c (vfmake, redirect): allocated memory realeased on errors
  1051. 2000-05-10 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1052. * direntry.c (vfs_s_new_inode): Do not leave st_nlink uninitialized.
  1053. 2000-05-08 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
  1054. vfs/extfs/uha.in: add HSC type archives
  1055. 2000-05-01 Pavel Machek <pavel@bug.ucw.cz>
  1056. * direntry.c (vfs_s_inode_from_path): fix for stating / directory
  1057. done properly
  1058. * vfs.c: == 0 is right test of eof.
  1059. 2000-04-28 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1060. * direntry.c (vfs_s_internal_stat): added ugly special case for /
  1061. of archive to always exist. It seems I'm hiding some underlying
  1062. problem :-(.
  1063. 2000-04-26 Andrew V. Samoilov <sav@bcs.zp.ua>
  1064. * direntry.c (vfs_s_find_entry_tree): segfault fixed when root is NULL
  1065. (vfs_s_new_inode, vfs_s_new_entry): g_new replaced by g_new0
  1066. * ftpfs.c (dir_load): ent->name is free()d for "." and ".."
  1067. (ftpfs_directory_timeout): default value changed to 900
  1068. (netrc_next): "const char * const keywords" go to rodata and is shared
  1069. 2000-04-16 Pavel Machek <pavel@bug.ucw.cz>
  1070. * vfs.c (vfs_type): FL_NO_LOCALHASH for prevention of obscure
  1071. deadlocks with podfuk
  1072. * direntry.c: fix behaviour when stating / directory of ftp
  1073. archive
  1074. 2000-04-15 Timur Bakeyev <mc@bat.ru>
  1075. * ftpfs.c (netrc_next): "const char * keywords" is pretty nice.
  1076. * ftpfs.c (dir_load): At last, found place, that broke handling
  1077. directories with spaces in name. Problem was in prepending "/"
  1078. to "." for current directory. Which was, obviously, wrong. Hacked
  1079. to make just "LIST -la ." instead.
  1080. 2000-04-12 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1081. * extfs/lslR.in: Patch by tnovak@ipex.cz: allow spaces in filenames
  1082. 2000-04-10 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1083. * extfs/audio: Added a way to browse audio CDs conviently
  1084. * undelfs.c: use NULLs instead of 0s when you assign to pointers!
  1085. 2000-04-05 Andrew V. Samoilov <sav@bcs.zp.ua>
  1086. * utilfs.c (vfs_split_url): don't assign *pass if pass is NULL
  1087. * fish.c (archive_open, archive_same): memory allocated by
  1088. vfs_split_url () must be released after use, don't strdup()
  1089. values allocated by vfs_split_url () and NULL passed to
  1090. vfs_split_url () when password value is unused
  1091. * ftpfs.c (archive_open, archive_same): ditto plus same for
  1092. ftpfs_get_proxy_host_and_port ()
  1093. 2000-04-06 Timur Bakeyev <mc@bat.ru>
  1094. * ftpfs.c (netrc_next): Turned strange "const char * const keywords"
  1095. into more alike "const char const * keywords". Still, think, it's
  1096. too strict.
  1097. * smbfs.c: Add #define BOOL_DEFINED before inclusion of samba headers.
  1098. Libncurses(or slang?) defines BOOL and that can cause problems. (In fact,
  1099. I can't find references to that const, but sure, I hade reason to do that:)
  1100. * util-alone.h: Declare load_anon_passwd() to avoid warnings.
  1101. 2000-03-31 Andrew V. Samoilov <sav@bcs.zp.ua>
  1102. * vfs.c (mc_def_getlocalcopy): free() replaced by g_free() to prevent
  1103. crashes with mad, thanks to Timur I. Bakeyev <timur@bat.ru>
  1104. * fish.c (linear_start): Name wasn't freed after usage.
  1105. * cpio.c (cpio_ungetlocalcopy): Return type changed to int,
  1106. function return 0 now.
  1107. * direntry.c (vfs_s_close, vfs_s_resolve_symlink): Memory allocated
  1108. by vfs_s_fullpath() is freed after use.
  1109. * ftpfs.c (linear_start): Ditto.
  1110. 2000-04-03 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1111. * ftpfs.c (send_ftp_command): return from vfs_s_get_path_mangle is
  1112. not strdupped(), so it must not be g_free'd.
  1113. 2000-03-29 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1114. * fish.c: Patch by <rebel@atrey.karlin.mff.cuni.cz>: make
  1115. fish work better with files files like "this is sentence"
  1116. 2000-03-28 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1117. * extfs/*rpm: Patch by <rebel@atrey.karlin.mff.cuni.cz>: set
  1118. locale to C so that rpm does not confuse us
  1119. 2000-03-06 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1120. Patch by Andrew V. Samoilov <sav@bcs.zp.ua>
  1121. * vfs.c (vfs_parse_ls_lga): don't hard code st_ino and st_dev to 0's,
  1122. these variables must be assigned in vfs_s_new_inode () or extfs
  1123. layer, so ftpfs subdirectories now can be copied.
  1124. 2000-02-25 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1125. Patch by Andrew V. Samoilov <sav@bcs.zp.ua>
  1126. * vfs.[ch] (vfs_canon, mc_open, vfs_file_is_local,
  1127. mc_(un)?getlocalcopy): added const qualifier
  1128. (mc_def_getlocalcopy): tempnam() returns malloc()ed buffer,
  1129. so, free() it, not g_free();
  1130. (vfs_canon): prepend filename by cwd when tilde '~' cannot be expanded;
  1131. 2000-02-23 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1132. * cpio.c: cpio.h is missing, so don't try to include it. (It is
  1133. not needed, anyway. Strange.)
  1134. * Makefile.in (NONETFILES): cpio added to compilation list
  1135. 2000-02-23 Norbert Warmuth <nwarmuth@privat.circular.de>
  1136. * ftpfs.c: Definition of PORT changed in the middle of ftpfs.c
  1137. with unexpected side effects (only when HSC_PROXY was
  1138. defined). Introduce HSC_PROXY_PORT and FTP_COMMAND_PORT and use
  1139. where appropriate.
  1140. (dir_load): Do not hard code the directory cache timeout to 10
  1141. seconds. Instead use the setting from Options/Virtual VFS ...
  1142. * fish.c (file_store): honour changed semantics for return value
  1143. (on error -1 is expected).
  1144. * ftpfs.c (file_store): dito
  1145. 2000-02-22 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1146. * cpio.c: added. Thanx to Jan Hudec <bulb@centrum.cz>, who wrote
  1147. it using code from tarfs.
  1148. 2000-02-21 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1149. * extfs/uzip.in (nam): y2k fixes (workarounds) by
  1150. christian.gennerat@vz.cit.alcatel.fr
  1151. 2000-02-04 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1152. * ftpfs.c (ftpfs_unlink, *): prepend / so that it actually works
  1153. 2000-02-03 Andrew V. Samoilov <sav@bcs.zp.ua>
  1154. * xdirentry.h: added prototype for vfs_s_retrieve_file
  1155. 2000-01-31 Andrew V. Samoilov <sav@bcs.zp.ua>
  1156. * direntry.c: (vfs_s_resolve_symlink, vfs_s_readlink) fixed segfaults
  1157. for broken symlinks like 2001 -> The Space Oddysea.
  1158. 2000-01-24 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1159. * ftpfs.c: vfs semantics has some problems with ~s. What will
  1160. happen if we just don't go to home directory of user? (We used to
  1161. have /#ftp:hobit/~/ mean home directory of anonymous at
  1162. hobit. Thats pretty broken.)
  1163. * direntry.c (vfs_s_find_entry_linear): don't sleep after showing
  1164. message
  1165. * ftpfs.c: cosmetic fixes by Andrew V. Samoilov
  1166. 2000-01-18 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1167. * ftpfs.c: cosmetic fixes + killed ugly infinite loop, patch
  1168. from Andrew V. Samoilov
  1169. 2000-01-13 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1170. * extfs.c (extfs_chdir): removed unneeded statment, plus applied
  1171. cosmetics fixes from Andrew V. Samoilov
  1172. 2000-01-02 Martin Bialasinski <martin@internet-treff.uni-koeln.de>
  1173. * extfs/deb.in: Change to the deb vfs. tar has changed, and
  1174. depending on the version, it saves files as "./filename" or
  1175. "filename".
  1176. * From debian: added deba, debd, dpkg, apt script file systems.
  1177. 1999-12-28 Andrew V. Samoilov <sav@bcs.zp.ua>
  1178. * vfs.c (vfs_parse_filedate): don't decode last columns as year
  1179. 1999-12-21 Pavel Roskin <pavel_roskin@geocities.com>
  1180. * vfs/vfs.h: use #warning only for gcc. Not all compilers
  1181. understand it
  1182. 1999-12-15 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1183. * Merged changes by Andrew V. Samoilov <sav@bcs.zp.ua>. They are
  1184. mostly internationalization + fixing stupid bugs of mine
  1185. 1999-12-08 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1186. * ftpfs.c: basically replaced ftpfs with new one. Unlike the
  1187. previous one, this uses new direntry.c layer, so shared_ftp_fish.c
  1188. can be killed.
  1189. This is new code, so beware.
  1190. 1999-11-11 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1191. * shared_ftp_fish.c (s_ungetlocalcopy): need to supply some return
  1192. value, too. This code is going to be killed, the sooner the better.
  1193. * *.c (mc_[un]getlocalcopy): we really need some return value,
  1194. because we can have errors
  1195. * fish.c: don't use directory expiration, it does not work,
  1196. use retrieve_file from direntry.c
  1197. 1999-02-17 Pavel Machek <pavel@bug.ucw.cz>
  1198. * direntry.c (vfs_s_getlocalcopy): fixed segfault, getlocalcopy's
  1199. name has to be malloced.
  1200. 1999-10-07 Miguel de Icaza <miguel@gnu.org>
  1201. * ftpfs.c (linear_read): Applied patch from Alexander V. Lukyanov
  1202. <lav@yars.free.net> that makes the code compliant to RFC959
  1203. 1999-08-30 Miguel de Icaza <miguel@gnu.org>
  1204. * ftpfs.c (insert_dots): Use g_new here.
  1205. * shared_ftpfs_fish.c: Style fixes and small fixes
  1206. 1999-09-22 Bjorn Eriksson <mdeans@algonet.se>
  1207. * extfs/uzip.in: Better handling of zip-archives that contain files
  1208. which contain spaces.
  1209. 1999-09-19 Norbert Warmuth <nwarmuth@privat.circular.de>
  1210. * ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier.
  1211. * mcserv.c: removed definition of mad_strconcat which is also
  1212. in mad.c.
  1213. 1999-09-17 Federico Mena Quintero <federico@redhat.com>
  1214. * smbfs.c: #define NO_CONFIG_H before including the samba
  1215. includes; this way it will not re=define HAVE_LIBREADLINE. This
  1216. situation sucks. Should we change the names of the widget.h
  1217. history_*() functions?
  1218. 1999-09-14 Norbert Warmuth <nwarmuth@privat.circular.de>
  1219. * smbfs.c (various places): Store filenames in memory with the unix
  1220. character set and convert it back to the dos character set when
  1221. filenames are passed back to the samba server. If samba is configured
  1222. correctly this will fix the problems with filenames which contain
  1223. national characters.
  1224. (bucket_set_authinfo): Set domain, username and password which will
  1225. be used to log on and authenticate against the samba server and remember
  1226. this information on a host/share basis. If set use PASSWD to get the
  1227. password. If already authenticated against the host and share use this
  1228. information. If already authenticated against host and IPC$ use this
  1229. information. If neither of the former is true ask the user how to
  1230. log on.
  1231. (authinfo_get_authinfo_from_user): New function. Query the user for
  1232. domain, username and password to use for authentication.
  1233. (authinfo_free): New function. Free memory in authentication structure.
  1234. (authinfo_free_all): New function. Free the list used to remember
  1235. authentication information.
  1236. (authinfo_compare_host_and_share, authinfo_compare_host): New functions.
  1237. Helper functions used to search the authentication list.
  1238. (authinfo_add): New function. Add one authentication entry to the
  1239. authlist.
  1240. (authinfo_remove): New function. Remove one entry from the authlist.
  1241. (free_bucket): Free memory associated with one bucket.
  1242. (smbfs_get_free_bucket): Initialize the complete connection array
  1243. with 0. Free the memory allocated for a bucket and initialize the
  1244. bucket before reusing it.
  1245. (smbfs_open_link): use new functions to get authentication information
  1246. (get_stat_info, smbfs_stat): remove unused variables.
  1247. 1999-08-31 Federico Mena Quintero <federico@redhat.com>
  1248. * extfs/uzip.in: Handle filenames with spaces better. Thanks to
  1249. Spyridon Papadimitriou <Spyridon_Papadimitriou@gs91.sp.cs.cmu.edu>
  1250. for the patch.
  1251. 1999-08-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1252. * ftpfs.c (translate_path): Remove static buffer from here.
  1253. Return a strdupped string now.
  1254. (send_ftp_command): Release translate_path result here.
  1255. (open_data_connection): Release translate_path result here.
  1256. (ftpfs_chdir_internal): Reease it here too.
  1257. 1999-08-30 Norbert Warmuth <nwarmuth@privat.circular.de>
  1258. * shared_ftp_fish.c (get_line): Fixed off by one error ('\0' might
  1259. have been written one slot past the supplied character array).
  1260. * ftpfs.c (resolve_symlink_without_ls_options): Don't dump core on
  1261. strange symlinks (ls -la doesn't reveal where the symlink points to
  1262. and ls -lLa doesn't resolve the symlink either)
  1263. Added protection against recursive symbolic links.
  1264. 1999-08-19 Norbert Warmuth <nwarmuth@privat.circular.de>
  1265. * smbfs.c: added missing include file
  1266. (browsing_helper): use g_strdup instead of g_new + pstrcpy
  1267. (Btw. this is an example why the handholding of smblib gives a
  1268. false security feeling. pstrcpy limits the number of characters
  1269. copied and is used with a buffer which is smaler than the hard
  1270. coded limit in pstrcpy)
  1271. (loaddir_helper): ditto
  1272. (server_browsing_helper): ditto
  1273. (get_remote_stat): fixed memory leaks
  1274. (smbfs_loaddir): ditto
  1275. (get_stat_info): ditto
  1276. (smbfs_stat): ditto
  1277. (convert_path): rewritten, now it's much cleaner what it does.
  1278. This rewrite was necessary because gcc -O2 choked on glibc 2.1
  1279. systems. In that combination strncat is a macro which expands to
  1280. strlen and strcat and in vfs/samba/include/includes.h the latter is
  1281. defined to __ERROR__XX__NEVER_USE_STRCAT___;.
  1282. 1999-08-18 Norbert Warmuth <nwarmuth@privat.circular.de>
  1283. * direntry.c (vfs_s_getlocalcopy): There's an aditional strdup
  1284. needed. In rare cases a pointer was freed twice. Pavel Machek
  1285. pointed this out a while ago but obviously it hasn't been fixed yet.
  1286. * sfs.c (vfmake): Quote characters with a special meaning to the
  1287. shell in filenames/-pathes (Fix Bug #1931, VFS will not work if
  1288. your full path has the space character in it.).
  1289. 1999-08-17 Kjartan Maraas <kmaraas@online.no>
  1290. * fish.c: Fix typo.
  1291. 1999-08-15 David Martin <dmartina@usa.net>
  1292. * vfs.c (vfs_print_stats): Translate vfs stats
  1293. * shared_ftp_fish.c (s_read, s_lseek): Mark strings for translation
  1294. * fish.c: Translate messages
  1295. 1999-08-06 Norbert Warmuth <nwarmuth@privat.circular.de>
  1296. * tar.c (read_header): Don't segfault when a symlink points to the
  1297. root directory.
  1298. 1999-08-01 Norbert Warmuth <nwarmuth@privat.circular.de>
  1299. * vfs.c: Don't close a function definition with "};". SunCC from
  1300. 2.5.1 chokes on the extra semicolon
  1301. (mc_munmap): Don't dereference function pointer when checking for
  1302. NULL (this check is supposed to prevent a segfault instead of
  1303. causing one). This haven't got noticed up to now becaue there's no
  1304. file system with mmap but without munmap.
  1305. Tue Jul 6 11:22:40 1999 Timur I. Bakeyev <mc@bat.ru>
  1306. * samba/include/config.h: Removed. Should be generated.
  1307. Tue Jul 6 11:18:45 1999 Timur I. Bakeyev <mc@bat.ru>
  1308. * Make-mc.in(XCPPFLAGS): Add necessary paths to allow compile sambafs
  1309. when builddir != srcdir. Removed some junk after not coherent patching.
  1310. 1999-07-04 Federico Mena Quintero <federico@nuclecu.unam.mx>
  1311. * Make-mc.in (distcopy): Added a bunch of new lists of files for
  1312. the directories in vfs/samba. Use them in this rule, because
  1313. plain wildcards will not work right.
  1314. (SAMBA_DIST_TOPLEVEL): Added configure to the list of distributed
  1315. files.
  1316. Added smbfs.[ch] to the list of sources.
  1317. 1999-07-02 Tuomas J. Lukka <lukka@iki.fi>
  1318. * Make-mc.in: $SAMBAFILES -> @SAMBAFILES@ in the rule
  1319. as well as the dependencies.
  1320. 1999-06-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1321. * smbfs.c (get_remote_stat): Change debug level.
  1322. (get_stat_info): 2 line fixes from Wayne to check the
  1323. cache properly. WOOOOHOOOO! Works like a charm.
  1324. 1999-06-14 Wayne Roberts <wroberts1@cx983858-b.orng1.occa.home.com>
  1325. * vfs/smbfs.c: New file. Implements the Samba-based file system.
  1326. * vfs/vfs.h: Declare vfs_smbfs_ops, vfs_file_is_smb.
  1327. * vfs/vfs.c (vfs_file_is_smb): implemented.
  1328. (vfs_init) register smbfs.
  1329. * vfs/samba: Incorporate SAMBA source code required for smbfs
  1330. Fri Jun 18 11:49:05 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1331. * ftpfs.c (resolve_symlink_with_ls_options): Some ftp servers don't
  1332. make a difference between "LIST -la" and "LIST -lLa". If we find such
  1333. a server don't use -lLa when resolving symbolic links.
  1334. 1999-05-12 Christian GENNERAT <christian.gennerat@alcatel.fr>
  1335. * urar.in, uzip.in: patches to use in #urar and #uzip the new features
  1336. added in mc-4.5.31 (unlink, mkdir, rmdir)
  1337. 1999-04-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1338. * extfs/deb.in (mcdebfs_run): Quote string properly, fix suggested
  1339. by debian mantainer
  1340. 1999-04-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1341. * extfs/uzip.in (nam): Handle new unzips.
  1342. Fri Apr 23 21:02:32 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1343. * ftpfs.c (retrieve_dir): If we don't get any valid directory entry
  1344. (i.e. not even "." and "..") check whether the directory is empty
  1345. or not existend (instead of failing with "ftpfs: failed").
  1346. 1999-04-23 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1347. * vfs.c (vfs_parse_filemode): fix for solaris which uses 'l'
  1348. instead of 'S'.
  1349. (vfs_parse_ls_lga): do not silently ignore parsing errors.
  1350. Wed Apr 21 21:59:50 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1351. * extfs.c (extfs_open): tempnam returns a malloced string, no need
  1352. to strdup it
  1353. (various places): use free instead of g_free to free string returned
  1354. by tempnam.
  1355. 1999-04-21 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1356. * urar.in, uzip.in: rolled in patches from "christian.gennerat"
  1357. <christian.gennerat@vz.cit.alcatel.fr> for better handling of
  1358. spaces and copyin-feature-addon.
  1359. 1999-04-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1360. * extfs.c (get_path_from_entry): Fix a crash here.
  1361. 1999-04-12 Andrew T. Veliath <andrewtv@usa.net>
  1362. * extfs.c (extfs_unlink):
  1363. (extfs_mkdir):
  1364. (extfs_rmdir):
  1365. (remove_entry): New functions.
  1366. (vfs_extfs_ops): Add unlink, mkdir and rmdir functions to table.
  1367. Add descriptions for these to the extfs README.
  1368. 1999-04-12 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1369. * Make-mc.in (DISTVFS): try to distribute files needed for
  1370. building libvfs.so alone
  1371. (EXTFS_MISC): include uarj and unarj.diff in distribution
  1372. 1999-04-08 Owen Taylor <otaylor@redhat.com>
  1373. * extfs/deb.in extfs/ulha.in extfs/ucpio.in: Fix
  1374. up "TMP RACE" comments so they are at least secure,
  1375. if not terribly robust.
  1376. 1999-03-31 Serge Winitzki <swinitzk@hotmail.com>
  1377. * added copy_in capability to mtools filesystem
  1378. 1999-03-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
  1379. * vfs.c (vfs_add_current_stamps): Only do stamping of the panels
  1380. if they exist.
  1381. * mcserv.c: #include <sys/wait.h>
  1382. (get_client): Put `#ifdef __EMX__' around an otherwise-unused
  1383. variable.
  1384. * utilvfs.c (vfs_split_url): Fix NULL <-> 0 confusion when
  1385. comparing characters.
  1386. * ftpfs.c (retrieve_dir): Removed unused variable dot_dot_found.
  1387. * extfs.c (extfs_init): Assign `key' to c, not `&key'.
  1388. Sun Mar 28 23:50:47 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1389. * vfs.h (vfs_translate_url): Fixed the macro which is used when
  1390. compiling without vfs.
  1391. 1999-03-22 David Martin <dmartina@mailexcite.com>
  1392. * ftpfs.c: Internationalize the messages that are displayed as
  1393. hints.
  1394. 1999-03-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1395. * extfs.c (extfs_init): Fix the code here: If the key is empty or
  1396. only contains a new line, C would be pointing into an invalid location.
  1397. Mon Mar 22 02:56:23 1999 Timur I. Bakeyev <mc@bat.ru>
  1398. * Makefile-mc.in: s/$(libdir)\/extfs/$(extfsdir)/
  1399. Mon Mar 22 02:00:16 1999 Valery Kornienkov <vlk@st.simbirsk.su>
  1400. * extfs/uha.in: Add support for ha archives.
  1401. 1999-03-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1402. * vfs.c (vfs_parse_ls_lga): Handle stupid servers that send n_link
  1403. set to zero.
  1404. 1999-03-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1405. * vfs.h: Make it compile in AIX. Boy do those guys polute the
  1406. name space.
  1407. 1999-03-09 Shooby Ban <bansz@szif.hu>
  1408. * extfs/extfs.ini: Corrected rpms -> rpms:
  1409. by Balazs Nagy <julian7@kva.hu>
  1410. 1999-03-09 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1411. * vfs.c (parse_ls_lga): kill the messages on each error.
  1412. Tue Feb 16 12:11:04 1999 Paul Sheer <psheer@obsidian.co.za>
  1413. * mcserv.c, mcfs.c: mcserv and mcfs exchange st_dev instead
  1414. of st_rdev. This makes stats on device files useless. Fixing
  1415. this does not break anything, but adds the ability to copy
  1416. device files properly. Ideally, both st_dev and st_rdev should
  1417. be returned for those programs that use the vfs to properly
  1418. recreate hardlinks. Whose idea was it to only return one of
  1419. these???
  1420. 1999-02-12 Sergey Korshunoff <seyko@p5.f434.n5020.z2.fidonet.org>
  1421. * unlha.in: Fix the problem of having incorrect pathnames when
  1422. pulling out files from the LHA file.
  1423. Sat Feb 6 23:44:28 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1424. * tar.c (read_header): Treat hardlinks correctly.
  1425. Mon Feb 1 19:32:12 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1426. * ftpfs.c (insert_dots): renamed from insert_dot. We have to
  1427. insert ".." as well or directories from ftp servers which don't
  1428. list "." and ".." are displayed with an additional "/".
  1429. Mon Feb 1 02:55:07 1999 Timur I. Bakeyev <mc@bat.ru>
  1430. * tcputil.c: One more my bug with '\0' -> NULL. Oops..
  1431. Mon Feb 1 01:45:08 1999 Timur I. Bakeyev <mc@bat.ru>
  1432. * mcserv.c: If setuid() is avaliable, use it, even, streuid() also
  1433. present. (BTW, bsdi uses it's own auth system..)
  1434. Sun Jan 31 20:51:17 1999 Alexander Savelyev <fano@vcom.kiev.ua>
  1435. * mcserv.c (do_auth): mcserv never auth properly on bsdi.
  1436. (mc/vfs/mcserv.c do_auth() on bsdi we must use setuid() not
  1437. setreuid()).
  1438. * tcputil.c: use correct signal handler (void func(int)) on BSDI
  1439. Sun Jan 31 20:41:00 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1440. * mcserv.c (do_link): Removed duplicate invokation of link. Thanks
  1441. to Grzegorz Makarewicz <mak@mikroplan.com.pl> for spotting this.
  1442. Sun Jan 31 20:04:13 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1443. * vfs.c (vfs_strip_suffix_from_filename): Whoever replaces every
  1444. occurance of 0 with NULL should stop this stupidy. And replacing
  1445. '\0' with NULL is plan wrong!!. Reverted this replacement.
  1446. * ftpfs.c (load_no_proxy_list): ditto
  1447. Sun Jan 31 19:57:24 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1448. * ftpfs.c (insert_dot): New function. Insert a "." into the linked
  1449. list. Stat'ing the root directory of a ftpfs fails if the dot is
  1450. missing.
  1451. (retrieve_dir): insert "." into the linked list if the ftp server
  1452. haven't send it.
  1453. Sun Jan 31 19:50:24 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1454. * The following changes make ftpfs work with a remote AmiTCP
  1455. server are the result of somehow longish EMail debugging session. I
  1456. don't know any public server of this kind but I was told the
  1457. combination Unix/Amiga boxes are often used in intranets.
  1458. * ftpfs.c (translate_path): New function. Translate a Unix path,
  1459. i.e. MC's internal path representation (e.g. /somedir/somefile) to
  1460. a path valid for the remote server. Every path transfered to the
  1461. remote server has to be mangled by this function right prior to
  1462. sending it. Currently only Amiga ftp servers are handled in a
  1463. special manner.
  1464. * ftpfs.c (various places): use translate_path
  1465. * ftpfs.c (login_server): Assume we have to mangle pathnames if
  1466. the greatings string from the server contains the word Amiga. If
  1467. this assumption is wrong I have to find another way to turn on
  1468. path translation.
  1469. * ftpfs.c (ftpfs_get_current_directory): Prepend a leading slash
  1470. if it is missing. MC needs it as seperator between hostname and
  1471. path in its internal url representation.
  1472. 1999-01-26 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
  1473. * vfs.c (vfs_parse_ls_lga): attempt to correctly work against
  1474. Notwell 4
  1475. Wed Jan 27 03:09:48 1999 Timur I. Bakeyev <mc@bat.ru>
  1476. * All around the source: Changed copy_strings() to g_strconcat(). Modi-
  1477. fy last parameter in concat_dir_and_file() to "" - to prevent stack from
  1478. disbalancing.
  1479. 1999-01-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
  1480. * Makefile.am (libvfs_la_SOURCES): Added utilvfs.h.
  1481. * Make-mc.in (VFSHDRS): Likewise.
  1482. Sat Jan 23 18:40:19 1999 Timur I. Bakeyev <mc@bat.ru>
  1483. * utilvfs.c (append_path_sep): Removed - concat_dir_and_file(dir, NULL);
  1484. gives the same effect.
  1485. 1999-01-21 Federico Mena Quintero <federico@nuclecu.unam.mx>
  1486. * utilvfs.c (append_path_sep): Fixed, it was broken for paths
  1487. which already have a / at the end.
  1488. Fri Jan 22 01:41:25 1999 Timur I. Bakeyev <mc@bat.ru>
  1489. * undelfs.c: Found one more unconverted realloc() call.
  1490. 1999-01-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1491. * undelfs.c (undelfs_loaddel): Fix Timur's changes.
  1492. Thu Jan 21 00:58:12 1999 Timur I. Bakeyev <mc@bat.ru>
  1493. * Actually commit all changes :>
  1494. Tue Jan 19 05:15:49 1999 Timur I. Bakeyev <mc@bat.ru>
  1495. * Converted all occurences of DIR_SEP_CHAR and "/" to PATH_SEP and
  1496. PATH_SEP_STR. Additionall cleanups of the memory code.
  1497. * utilvfs.h: Added several defenitions for common sizes for buffers.
  1498. It seems, most of us experience problems, when inventing size for new
  1499. buffer. This is much better and portable way to eliminate the problem.
  1500. 1999-01-18 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1501. * vfs.h: The correct thing to use is PATH_SEP and PATH_SEP_STR
  1502. Sun Jan 17 16:19:48 1999 Timur I. Bakeyev <mc@bat.ru>
  1503. * Converted memory managment to Glib. Now we use g_new()/g_malloc()/
  1504. g_strdup()/g_free() routings. Also, copy_strings() replaced by
  1505. g_strconcat(), and sprintf() by g_snprintf().
  1506. * utilvfs.h: New header file. Introduced as a stock header, which keeps
  1507. all includes in a right order, to avoid order-dependence mistakes.
  1508. Sun Jan 17 15:49:39 1999 Paul Sheer <psheer@obsidian.co.za>
  1509. * direntry.c: vfs_s_find_entry_tree changed to follow
  1510. symlinks properly. Symlinks are now always followed
  1511. except for the last part of the filename.
  1512. vfs_s_resolve_symlink() now converts absolute paths to
  1513. ../../file notation so that they can be easily resolved
  1514. within the tree.
  1515. * tar.c: . and .. are missing from directory entries,
  1516. making it impossible to resolve links - fixed.
  1517. 1999-01-12 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1518. * vfs.c (mc_get_current_wd): Do not die. Truncate the pathname.
  1519. 1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1520. * sfs.c (redirect): tempnam returns a malloc()ed buffer.
  1521. Sat Jan 9 19:15:00 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1522. * vfs.c (vfs_timeout_handler): Guard from recursive invocation.
  1523. Sat Jan 9 19:13:28 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
  1524. * sfs.c (sfs_free): Fixed wrong linked list handling (head was
  1525. lost after the first iteration).
  1526. (sfs_getid): dito, return value was wrong.
  1527. Sat Jan 9 22:49:02 1999 Timur I. Bakeyev <mc@bat.ru>
  1528. * vfs.c (parse_ls_lga): Rewrite function to make it more stright.
  1529. Also, fixed some bugs in parsing (and add new ones:), which diasallowed
  1530. proper parsing of device major and minor numbers. Some other fixes. Add
  1531. several new is_*() functions to make code readable.
  1532. 1999-01-08 Ilya Zakharevich <ilya@math.ohio-state.edu>
  1533. * vfs.h (vfs_strip_suffix_from_filename): Typo fix. Include
  1534. defines for non-vfs compilation.
  1535. Fri Jan 8 20:03:36 1999 Andrej Borsenkow <borsenkow.msk@sni.de>
  1536. * vfs.c (vfs_parse_filedate): I forgot to set got_year in one place
  1537. (where YY-MM-DD is parsed).
  1538. Thu Jan 7 06:24:25 1999 Andrej Borsenkow <borsenkow.msk@sni.de>
  1539. * vfs.c (vfs_parse_filedate): If the date is less than 6 months
  1540. in the past, it is shown without year. In this case MC assumed
  1541. the current year which is wrong from Jan to Jun.
  1542. Thu Jan 7 03:47:35 1999 Timur I. Bakeyev <mc@bat.ru>
  1543. * vfs.c (parse_ls_lga): Fixed Y2K typo pointed by Alex.
  1544. Thu Dec 31 08:47:15 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1545. * sfs.c (sfs_nothingisopen): Assume for now it's always save to free
  1546. this filesystem and delete temporary files. This needs further
  1547. investigation.
  1548. * tar.c: deleted unused empty struct tar_super.
  1549. Thu Dec 31 08:40:44 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1550. * direntry.c: Split fd_usage into fd_usage and ino_usage. fd_usage
  1551. was used for external and internal reference count. This was wrong
  1552. because we can free resources taken up by the vfs as soon as the
  1553. external reference count (now fd_usage) is zero. The internal
  1554. reference count (ino_usage) mustn't matter because the vfs has to
  1555. clean up itself in the correct order.
  1556. Fri Dec 25 21:48:51 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1557. * direntry.c (vfs_s_new_inode): Moved initialization of st_ino
  1558. and st_dev from vfs_s_default_stat.
  1559. (vfs_s_default_stat): initialize st_ino and st_dev to zero
  1560. * tar.c (tar_open_archive): Make a new MEDATA->rdev for every
  1561. new archive.
  1562. Mon Dec 21 22:55:48 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1563. * tar.c: Deleted global variable tar_gzipped_memlimit.
  1564. Wed Dec 16 06:36:42 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1565. * vfs.c (vfs_strip_suffix_from_filename): New function which strips
  1566. known vfs suffixes from a filename and returns a malloced string
  1567. which has to be freed. Possible improvement: strip vfs suffix from
  1568. last path component.
  1569. * extfs/*: added "umask 077" to every script.
  1570. Tue Dec 15 16:41:50 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1571. * extfs.c (extfs_open), sfs.c (redirect): create files 0600 and
  1572. safely w.r.t. symlinks in /tmp
  1573. Mon Nov 30 23:49:11 1998 Pavel Machek <pavel@bug.ucw.cz>
  1574. * direntry.c: Hopefully got want_stale_data right...
  1575. Wed Nov 25 23:54:23 1998 Pavel Machek <pavel@bug.ucw.cz>
  1576. * vfs.h: use ENETUNREACH if EREMOTEIO error code is not defined,
  1577. this is neccessary for Solaris and probably others
  1578. Mon Nov 23 17:39:33 1998 Pavel Machek <pavel@bug.ucw.cz>
  1579. * vfs.c (vfs_type_from_op): removing unneccessary code
  1580. Wed Dec 9 12:24:52 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1581. * extfs/rpm: commit fix for files with spaces in name by Marc
  1582. Merlin (marcsoft@merlins.org)
  1583. Mon Dec 7 11:04:57 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1584. * fish.c: default to normal ssh
  1585. (open_archive_int): debugging hack killed
  1586. 1998-12-02 Raja R Harinath <harinath@cs.umn.edu>
  1587. * Makefile.am (EXTRA_DIST): Distribute files that the
  1588. BUILT_SOURCES depend on.
  1589. (mad.c, mad.h): Don't use GNU make specific features in rule.
  1590. (libvfs_la_SOURCES): Update from Make-mc.in.
  1591. 1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1592. * direntry.c (vfs_s_insert_super): This routine does not return
  1593. anything.
  1594. 1998-12-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
  1595. * fish.c (FISH_OP): changed snprintf to g_snprintf, as glib is
  1596. used anyway.
  1597. * xdirentry.h (LINK_NO_FOLLOW):
  1598. * tar.c (read_header):
  1599. * direntry.c (vfs_s_resolve_symlink):
  1600. (vfs_s_inode_from_path):
  1601. (vfs_s_open): renamed NO_FOLLOW and FOLLOW to LINK_NO_FOLLOW and
  1602. LINK_FOLLOW resp. to avoid problems on solaris, where FOLLOW and
  1603. NO_FOLLOW are defined in an enum.
  1604. * vfs.h (ELAST): define it to 300, if not already defined, thats a
  1605. bad hack, but what can we do....
  1606. Wed Dec 2 14:06:49 KST 1998 Sung-Hyun Nam <namsh@lgic.co.kr>
  1607. * direntry.c (vfs_s_new_super): Added the missing return value.
  1608. Sun Nov 29 02:54:54 1998 Timur I. Bakeyev <mc@bat.ru>
  1609. * vfs.h: (Temporary?) fix to the compiling error: Some of the error
  1610. codes, defined here are Linux specific and unknown to other systems.
  1611. Changed to #ifdef's with assigning new codes by means ELAST+offset.
  1612. Tue 24 Nov 12:43:20 1998 Peter Kleiweg <kleiweg@let.rug.nl>
  1613. * vfs.c (vfs_parse_ls_lga): ignore trailing + in permission string
  1614. which indicate a file with extented attributes (ACL)
  1615. Mon Nov 23 21:19:43 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1616. * ftpfs.c (resolve_symlink_with_ls_options): that's resolve_symlinks
  1617. we used up to release 4.1.35. It uses LIST -lLa to get symlink stats.
  1618. (resolve_symlink_without_ls_options): that's resolve_symlinks
  1619. we used in release 4.1.36 and 4.5.[01]. It gets symlink stats from the
  1620. directory cache fetching directories if necessary. We got some
  1621. complaints about slower ftpfs in the above releases. Now this methode
  1622. is no longer the default methode to resolve symbolic links. It is still
  1623. needed for ftp servers which don't understand the LIST -lLa command.
  1624. (resolve_symlink): Dispatch between the two methods to
  1625. resolve symlinks.
  1626. Sat Nov 21 21:38:08 1998 Pavel Machek <pavel@bug.ucw.cz>
  1627. * vfs.c (vfs_parse_ls_lga): corrected stupid bug in parse_ls_lga,
  1628. thanks to Pavel Roskin for reporting
  1629. * direntry.c (vfs_s_lseek): -1 is invalid filehandle, not 0
  1630. * utilvfs.c (vfs_split_url): initialize variables so that we do
  1631. not return garbage
  1632. Sat Nov 7 20:19:14 1998 Pavel Machek <pavel@bug.ucw.cz>
  1633. * vfs.c: Converted g_return_if_fail into vfs_dies(), removed them
  1634. where unneccessary. I do not see why passing NULL to vfs_add_stamp
  1635. should be invalid -> removed check.
  1636. Mon Nov 2 23:09:55 1998 Pavel Machek <pavel@bug.ucw.cz>
  1637. * direntry.c, xdirentry.h: should be now prepared to handle
  1638. ftp-like filesystems. This is rather BIG change, altrough it does
  1639. not look so. I hope I do not break too many things.
  1640. Mon Nov 16 16:39:39 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1641. * vfs.c (vfs_parse_ls_lga): Report unrecognized lines.
  1642. Thu Nov 12 11:28:48 1998 Pavel Roskin <pavel_roskin@geocities.com>
  1643. * extfs/rpm: Fix to display files belonging to users with
  1644. excessively long usernames
  1645. 1998-10-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1646. * fish.c (command): Replace vnsprintf with g_strdup_vprintf. This
  1647. is both safe and more correct, as there is no limit on the
  1648. pathname.
  1649. * ftpfs.c (command): Same as above.
  1650. * util-alone.c (print_vfs_message): Same as above.
  1651. Wed Oct 28 17:06:57 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1652. * ftpfs.c: report which directory you are listing, fix behaviour
  1653. with servers that don't like LIST //. (Nowell) Fix behaviour even
  1654. with NT.
  1655. * direntry.c (vfs_s_automake): insert newly generated entry
  1656. * direntry.c (vfs_s_free_entry): Debugging printf() killed.
  1657. Mon Oct 26 00:38:30 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1658. * Make-mc.in: added xdirentry.h to VFSHDRS
  1659. Fri Oct 23 12:29:48 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1660. * tar.c (tar_open_archive): do not double-free memory if you can
  1661. not open archive, better error handling
  1662. * Makefile.in: add direntry.o to list of NONETFILES so we actually compile
  1663. * sfs.c, tar.c: remove debugging messages (which really should not
  1664. escape from my tree)
  1665. Thu Oct 22 22:24:44 1998 Pavel Machek <pavel@bug.ucw.cz>
  1666. * README: added. If you are using emacs or hacking libvfs, please
  1667. read this one.
  1668. * direntry.{c,h}: new library created, so that same entry/inode
  1669. code does not have to be copied in every handler.
  1670. * tar.c: converted to use direntry.c library, which means BIG changes.
  1671. * ftpfs.c: small updates to make code look nicer
  1672. Mon Oct 19 19:40:58 1998 Pavel Machek <pavel@bug.ucw.cz>
  1673. * vfs.h (&more): killed ERRNOR() from vfs.h and put it into files
  1674. which actually need it.
  1675. * extfs.c: extfs_current_dir killed - it was unneccessary.
  1676. * mcfs.c (mcfs_get_path): It is possible for path not to begin
  1677. with /#mc:, for example if user does /etc/#mc:. (It is not
  1678. correct, of course). Return error, but do not vfs_die().
  1679. Sun Oct 18 23:48:00 1998 Pavel Machek <pavel@bug.ucw.cz>
  1680. * lib/mc.ext.in: cpio support fixed. It was broken since time we
  1681. started to do #ext syntax.
  1682. Sat Oct 17 20:43:20 1998 Pavel Machek <pavel@bug.ucw.cz>
  1683. * vfs.c (mc_open): die() if open is unsupported. If filesytem does
  1684. not support open, it is probably stupid typo, so we want bug to be
  1685. fixed.
  1686. Thu Oct 22 20:30:28 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1687. * ftpfs.c (resolve_symlink, retrieve_dir): Don't timeout and
  1688. free dcache while resolving symlinks (i.e. don't free some
  1689. pointers which are in use by resolve_symlink).
  1690. Mon Oct 19 11:44:47 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1691. * mcfs.c: prefix is mc:, not mcfs:. So now mcfs actually works.
  1692. Thu Oct 15 17:17:17 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1693. * shared_ftp_fish.c (s_write): stupid bug fixed
  1694. Tue Oct 13 00:22:52 1998 Pavel Machek <pavel@bug.ucw.cz>
  1695. * extfs/*: marked obvious security holes with FIXME: TMP RACE
  1696. * vfs.c (mc_def_getlocalcopy): creat->open(..,O_EXCL), to prevent
  1697. symlink attack, fixed memory leak along the path
  1698. 1998-10-13 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1699. * vfs.c, vfs.h: Indentation chages, ugly macros removed. I am
  1700. going to split this file in the future.
  1701. Tue Oct 13 18:43:18 1998 Pavel Machek <pavel@lomikel.karlin.mff.cuni.cz>
  1702. * vfs.c (vfs_add_noncurrent_stamps): Fixed typo reported by Andrej
  1703. Borsenkow <borsenkow.msk@sni.de>
  1704. Tue Oct 13 12:42:10 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1705. * vfs.h (vfs_struct): renamed to avoid namespace conflict
  1706. Mon Oct 12 22:42:30 1998 Pavel Machek <pavel@bug.ucw.cz>
  1707. * sfs.c: reuse mmap from local.c
  1708. * ftpfs.c, fish.c, shared_ftp_fish.c: horrible reget hack removed,
  1709. and replaced with open(,O_LINEAR); lseek() combination
  1710. Sun Oct 11 01:44:37 1998 Pavel Machek <pavel@bug.ucw.cz>
  1711. * mcfs.c (open_tcp_link): Moved: it used to be in utilvfs.c, but
  1712. as it deals with portmapper, it is probably usefull for mcfs
  1713. * vfs.h (MCERR_*): these are no longer needed
  1714. * vfs.c (vfs_translate_url): translating of url's moved to vfs
  1715. code
  1716. * all around: trying to reduce namespace pollution. All special
  1717. functions (like extfs_run) should be done using mc_setctl()
  1718. interface. At the end, all non-static functions in vfs layer
  1719. should begin with vfs_ and should be declared in vfs.h (however
  1720. that goal is far away).
  1721. * all over the code: replace X_vfs_ops to vfs_X_ops
  1722. Mon Oct 5 20:11:01 1998 Pavel Machek <pavel@bug.ucw.cz>
  1723. * vfs.c: added stat to avoid hiding files by naming them
  1724. #ftp:localhost and similar. Vfs will not treat files as local if
  1725. they already exists, regardless of name.
  1726. Tue Oct 6 15:34:22 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1727. * vfs.h: disable BROKEN_PATHS by default. See if you can live
  1728. without cd .. from ftp tree putting you to last directory.
  1729. Sat Oct 3 14:28:57 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1730. * ftpfs.c (resolve_symlink): fixed cut'n paste error in my last
  1731. change, i.e. make it compile)
  1732. Sat Oct 3 01:03:37 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1733. * ftpfs.c (resolve_symlink): minor speed enhancement
  1734. Thu Oct 1 18:39:52 1998 Pavel Roskin <pavel_roskin@geocities.com>
  1735. * vfs.h: vfs_force_expire() was incorrectly #define'd
  1736. Tue Sep 29 17:23:03 1998 Pavel Machek <pavel@atrey.karlin.mff.cuni.cz>
  1737. * extfs.c, sfs.c: added few static's to prevent people from doing
  1738. stupid things
  1739. Mon Sep 28 21:43:16 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1740. * vfs.h (struct vfs): renamed errno to verrno because glibc2
  1741. defines errno as macro (#define errno (*__errno_location ()))
  1742. Mon Sep 28 21:34:03 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
  1743. * Makefile.in: search config.status in builddir and not in srcdir/..,
  1744. i. e. make it compile for builddir != srcdir
  1745. Sun Sep 27 16:16:52 1998 Pavel Machek <pavel@bug.ucw.cz>
  1746. * COPYING.LGPL, all over the code: code is now under Library
  1747. General Public License (instead of GPL), so non-free applications
  1748. can link to it.
  1749. Wed Sep 23 22:37:40 1998 Pavel Machek <pavel@bug.ucw.cz>
  1750. * all over the code: added (vfs *) as first argument for functions
  1751. that have no other way to know what fs they belong to. This will
  1752. be used by object-like tricks, which will allow us to do real
  1753. code-sharing: I do not like #including of .c files.
  1754. 1998-09-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1755. * shared_ftp_fish.c: Addaed prototypes for linear_start, linear_read,
  1756. linear_close
  1757. Wed Sep 23 15:09:55 1998 Tom Tromey <tromey@cygnus.com>
  1758. * vfs.h (MIN, MAX): Only define if not already defined; glib.h
  1759. also defines them.
  1760. Wed Sep 23 13:33:14 1998 Pavel Machek <pavel@ucw.cz>
  1761. * ftpfs.c: Fixed segfault caused by unitialized varialble
  1762. Wed Sep 23 11:51:12 1998 Pavel Roskin <pavel_roskin@geocities.com)
  1763. * ftpfs.c: Special characters were printed via print_vfs_message.
  1764. This caused funny effects if "XTerm hintbar" was on.
  1765. Mon Sep 21 11:40:30 1998 Pavel Machek <pavel@ucw.cz>
  1766. * ftpfs.c, fish.c: added O_LINEAR mode to handle linear read of
  1767. files in sane way. copy_file_file will make temporary files for a
  1768. while (fix pending).
  1769. * tar.c: fixed bzip/bzip2 compressed archives
  1770. Wed Sep 18 12:51:51 1998 Pavel Machek <pavel@ucw.cz>
  1771. * fish.c, vfs.c: created aliases /#ssh: and /#rsh:
  1772. * vfs.h: created ERRNOR() macro which sets my_errno and returns,
  1773. which makes vfs's _much_ more readable
  1774. Fri Sep 18 10:37:28 1998 Pavel Roskin <pavel_roskin@geocities.com)
  1775. * extfs.c: free() was called twice for the same place in memory
  1776. in extfs_open()
  1777. Tue Sep 15 20:31:32 1998 Norbert Warmuth <k3190@fh-sw.de>
  1778. * ftpfs.c (ftp_use_unix_list_options): New global variable/option.
  1779. If true we try to use 'LIST -la <path>'. When it fails we use the
  1780. two commands 'CWD <path>' and 'LIST' instead.
  1781. (resolve_symlink): rewritten. Don't get a second directory listing
  1782. with `LIST -lLa'. Instead use the cache to get the file stat of
  1783. symbolic links. If the directory the symlink points to isn't
  1784. already in the cache the directory listing will be fetched and
  1785. stored in the directory cache (without resolving symlinks
  1786. recursively).
  1787. The new method to resolve symlinks is faster if symlinks
  1788. the same directory or the directory the symlink points to
  1789. is already in the cache.
  1790. This function was small and nice until I discovered that it was
  1791. broken for symlinks to symlinks. Now it looks ugly and perhaps I
  1792. will revert it to use "LIST -lLa" again. With a fast connection it
  1793. doesn't matter which methode we use but with a slow connection I
  1794. wouldn't hesitate to burn more cpu cycles on the client side.
  1795. (retrieve_dir): Added parameter to tell whether to resolve
  1796. symlinks (don't resolve symlinks in directory listings retrieved
  1797. while resolving symlinks).
  1798. When we don't get a directory listing with 'LIST -la <path>' then
  1799. try to get it with `CWD <path>; LIST'.
  1800. Tue Sep 15 20:27:29 1998 Norbert Warmuth <k3190@fh-sw.de>
  1801. * ftpfs.c (login_server): s/ftpfs_get_host/my_get_host/
  1802. (retrieve_file_start2): Don't create target file O_EXCL, in
  1803. copy_file_file we check existance of the target file and know
  1804. that we want to truncate it (this change was already done a
  1805. while back but it was reverted with the vfs-split).
  1806. Tue Sep 15 20:15:42 1998 Norbert Warmuth <k3190@fh-sw.de>
  1807. * ftpfs.h (struct connection): added boolean which indicates that
  1808. the ftp server doesn't understand Unix ls options
  1809. * ftpfs.h (struct dir): added enum to store symlink status of the
  1810. in memory directory cache (directory has no symbolic links;
  1811. symbolic links but not yet resolved; symbolic links which are resolved)
  1812. Tue Sep 15 20:02:08 1998 Norbert Warmuth <k3190@fh-sw.de>
  1813. * shared_ftp_fish.c, fish.c: updated references to retrieve_dir to
  1814. honour the additional boolean parameter
  1815. Tue Sep 15 00:42:15 1998 Timur Bakeyev <mc@bat.ru>
  1816. * vfs.h: add vfs_split() declaration, to make sfs.c happy.
  1817. * Make-mc.in, Makefile.am: Updated to include fish.c
  1818. 1998-09-14 Norbert Warmuth <k3190@fh-sw.de>
  1819. * sfs.c (sfs_free): assignment operator was used to check for equality
  1820. Fri Sep 11 22:36:38 1998 Pavel Machek <pavel@ucw.cz>
  1821. * sfs.c: memory leak fixed
  1822. * vfs.c: split parse_ls_lga into more functions
  1823. * fish.c added, now you can access files over rsh/ssh connection
  1824. * shared*.c: reworked a bit not to include so many of ugly X_'s
  1825. Wed Sep 2 13:59:47 1998 Pavel Machek <pavel@ucw.cz>
  1826. * ftpfs.c: cleanup of code, few static's added
  1827. * extfs/uarj: added, still, you need patches to unarj to make this
  1828. work
  1829. * util-alone.c: now includes code from libvfs.c, so we can kill
  1830. libvfs.c (which is good thing as it was non-standard in Makefiles)
  1831. Sun Aug 30 13:19:49 1998 Pavel Machek <pavel@ucw.cz>
  1832. * undelfs.c: fixed, it has been broken for too long
  1833. * vfs.c, ../src/cmd.c: neccessary minor fixes to make undelfs work
  1834. * vfs.c: made more fields in *_vfs_ops optional, cleanup of errno
  1835. handling in case of NULL in *_vfs_ops.
  1836. * extfs.c, ftpfs.c, tar.c: made use of above change
  1837. * vfs.c: cleanup of macros generating mc_*()
  1838. * libvfs.c: adding variable mc_home
  1839. Thu Aug 27 19:45:31 1998 Pavel Roskin <pavel_roskin@geocities.com>
  1840. * extfs.c: mc_extfsdir was not defined in extfs_open()
  1841. * Make-mc.in: sfs.c was not compiled, linked and copied out
  1842. extfs/sfs.ini was not installed and copied out
  1843. * Makefile.am: sfs.c was not linked to standalone VFS
  1844. Tue Aug 25 17:54:17 1998 Pavel Machek <pavel@ucw.cz>
  1845. * Added vfs_uid for use by libvfs.so users (rpc.nfsd)
  1846. * Added single file filesystem (sfs)
  1847. * Added vfs_flags so library users can disable selected
  1848. filesystems
  1849. * Minor shuffling of functions so garbage collection works for
  1850. library
  1851. 1998-08-20 Raja R Harinath <harinath@cs.umn.edu>
  1852. * Makefile.am (mad.c, mad.h): Create symlinks to counterparts in
  1853. `mc-src'.
  1854. Wed Aug 12 19:04:48 1998 Pavel Roskin <pavel_roskin@geocities.com>
  1855. * extfs/patchfs: %k replaced with more portable %H in the format
  1856. for "date" command
  1857. * extfs/extfs.ini: Added patchfs and mailfs. Some comments
  1858. changed
  1859. Tue Aug 11 15:25:52 1998 Pavel Roskin <pavel_roskin@geocities.com>
  1860. * extfs/rpm: Fix for buggy "cut" on HP-UX 10.20 which ignores
  1861. lines without enf-of-line.
  1862. Mon Jun 01 03:30:07 1998 Alexander Savelyev <fano@vcom.kiev.ua>
  1863. * tar.c (read_header): Support for linkflag on BSDI tar (pax), it
  1864. is always 0.
  1865. 1998-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1866. * ftpfs.c (ftpfs_open_socket): Potential security break fix.
  1867. 1998-08-06 Raja R Harinath <harinath@cs.umn.edu>
  1868. * Makefile.am (BUILT_SOURCES): Make it `make dist' friendly.
  1869. Don't try building this, yet.
  1870. 1998-07-31 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
  1871. * Make-mc.in (install.extfs): Splitted install of $(EXTFS_CONST)
  1872. and $(EXTFS_OUT) because the first must be installed from
  1873. $(srcdir) and the second from $(builddir).
  1874. Fri Jul 24 00:22:30 1998 Tom Tromey <tromey@cygnus.com>
  1875. * Make-mc.in (DISTVFS): Changed Makefile.in to Make-mc.in.
  1876. * Makefile.am: New file.
  1877. * Make-mc.in: Renamed from Makefile.in.
  1878. * Makefile.in: Removed.
  1879. Mon Jun 29 15:12:55 1998 Pavel Roskin <pavel_roskin@geocities.com>
  1880. * Makefile.in: Rewritten stuff concerning extfs files.
  1881. Mon Jun 22 22:30:00 1998 Manish Vachharajani <mvachhar@vger.rutgers.edu>
  1882. * Makefile.in: Remove arfs, since it doesn't seem to exist
  1883. Wed Jun 17 Pavel Machek <pavel@ucw.cz>
  1884. * Rename helper scripts (extfs/{rar|lha|...}.in), so their names
  1885. are more logical (and so that things actually work, because new
  1886. names are currently in extfs.ini).
  1887. Wed Jun 17 Pavel Machek <pavel@ucw.cz>
  1888. * Modified code to use tempnam() instead of tmpnam(), fixed
  1889. tempnam() to use NULL instead of 0.
  1890. Wed Jun 3 Pavel Machek <pavel@ucw.cz>
  1891. * libvfs.c: adding libvfs.c which should contain things specific
  1892. to stand-alone libvfs.so. (This file was missing from previous
  1893. merge.)
  1894. Mon Jun 1 16:00:19 1998 Norbert Warmuth <k3190@fh-sw.de>
  1895. * ftpfs.c (ftpfs_fill_names): use right character to seperate
  1896. prefix and username
  1897. Mon Jun 1 14:19:20 1998 Bakeyev I. Timur <mc@bat.ru>
  1898. * vfs.c (parse_ls_lga): allow a bit wider range of listings.
  1899. * vfs.c (is_time, is_year): new functions
  1900. Mon Jun 1 12:47:50 1998 Norbert Warmuth <k3190@fh-sw.de>
  1901. * ftpfs.c (ftpfs_forget): Use the new ftpfs prefix.
  1902. Thu May 28 16:42:31 1998 Pavel Machek <pavel@ucw.cz>
  1903. * extfs.c, shared.c, tar.c: I changed semantics in my previous
  1904. patch - _get_path() now modifies strings passed to it. I thought
  1905. that I were carefull enough not to introduce bugs. You guessed it -
  1906. I was not. [Many tar_ and extfs_ functions modify strings passed
  1907. to them, but as they are only called from vfs layer, it does not
  1908. matter much.]
  1909. So I renamed function to alert everyone that semantics changed.
  1910. Fixed bugs in timestamping (and segfaults) when you entered tar
  1911. inside zip file or similar.
  1912. * vfs.c (mc_open): Die if the filesystem doesn't support open
  1913. ??? Pavel Machek <pavel@ucw.cz>
  1914. * shared.c: Shared parts of extfs.c and tar.c are now in shared.c
  1915. * util-alone.*: VFS should be able to compile stand-alone into
  1916. libvfs.so usable by anyone. This is first step.
  1917. * vfs.c & others: syntax change. We no longer use
  1918. tar:/path.tar/file. Now, syntax is /path.tar#utar/file, which has
  1919. better defined meaning. Similar changes are done to all other
  1920. protocols. This change touched really _many_ places of code.
  1921. 1998-05-26 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1922. * vfs.c (MC_DIROP): Macro now returns the proper value.
  1923. 1998-maj-18 Tamasi Gyorgy (gt_cosy@usa.net)
  1924. * Makefile.in ('install' target): 'mcserv' not installed, if
  1925. net-code is not enabled by 'configure'.
  1926. Thu May 14 02:05:52 1998 Norbert Warmuth <k3190@fh-sw.de>
  1927. * Makefile.in (LIBS): add @LINTL@
  1928. Sun May 10 14:51:03 1998 Norbert Warmuth <k3190@fh-sw.de>
  1929. * ftpfs.c (__ftpfs_chdir): CWD command wasn't sent at all. This
  1930. optimation is wrong because for directories containing spaces we
  1931. have to "CWD <pathname>" and "LIST -la" instead of
  1932. "LIST -la <pathname>".
  1933. I implemented a different optimation. Now ftpfs_chdir only stores
  1934. the new working directory and sets a flag. __ftpfs_chdir is called
  1935. when we really want to change the directory on the ftp server.
  1936. (resolve_symlink): Log the directory listing to the logfile.
  1937. * ftpfs.h (struct ftpfs_connection): Added a (per connection)
  1938. cwd_defered flag.
  1939. Mon May 4 10:27:49 1998 Norbert Warmuth <k3190@fh-sw.de>
  1940. * Makefile.in: Links to mad.c and mad.h were created wrong when
  1941. srcdir != builddir and directory depth to srcdir and builddir were
  1942. different (e.g. srcdir=/src/mc and builddir=/src/compile/mc)
  1943. * ftpfs.c (retrieve_file_start2): Don't create target file O_EXCL,
  1944. in copy_file_file we check existance of the target file and know
  1945. that we want to truncate it.
  1946. 1998-04-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1947. * tar.c (read_header): Mark regular files with S_IFREG.
  1948. Tue Apr 28 06:06:03 1998 Norbert Warmuth <k3190@fh-sw.de>
  1949. * extfs.c (extfs_open, extfs_close): Changed my_system(1,...) to
  1950. my_system(EXECUTE_AS_SHELL,...), this fixes the broken copyin and
  1951. copyout of 4.1.32.
  1952. 1998-04-23 Miguel de Icaza <miguel@nuclecu.unam.mx>
  1953. * ftpfs.c (retrieve_file_start2): Open file exclusively.
  1954. (retrieve_file): likewise.
  1955. 1998-03-31 Philippe De Muyter <phdm@macqel.be>
  1956. * vfs.h: compilation fix for m68k-motorola-sysv
  1957. Wed Mar 25 19:01:48 1998 Norbert Warmuth <k3190@fh-sw.de>
  1958. * extfs/hp48: Added a usage summary
  1959. Mon Mar 23 00:42:21 1998 Christofer Edvardsen <ce@earthling.net>
  1960. * Makefile.in, extfs/extfs.ini, extfs/hp48: New external
  1961. filesystem to view and copy files to/from the HP48.
  1962. Wed Feb 11 14:09:02 1998 Oleg <oleg@pobox.com>
  1963. * extfs.c: Add support for writtable external file systems.
  1964. Required for the httpfs.
  1965. Fri Jan 23 07:27:37 1998 Peter Daum <gator@cs.tu-berlin.de>
  1966. * extfs.c (open_extfs_archive): Pass the quoted argument to the
  1967. list command.
  1968. * mailfs: new file system.
  1969. 1997-12-21 Yuri Kuzmenko <Yuri.Kuzmenko@f169.n463.z2.fidonet.org>
  1970. * tar.c: fix the bug which core dumps when trying to view tar file
  1971. with many files (over 60000).
  1972. Mon Jul 21 18:47:37 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
  1973. * vfs.c (mc_opendir): Do not make conversions between int/void *
  1974. to make the code compile and work on the Alpha correctly.
  1975. Allocate a pointer to an int and use that instead.
  1976. Thu Jul 3 19:08:43 1997 Michele Marziani <marziani@axpfe1.fe.infn.it>
  1977. * extfs/rpm: Small fix for older RPM files.
  1978. Mon Jun 9 19:00:30 1997 Norbert Warmuth <k3190@fh-sw.de>
  1979. * vfs/vfs.c (vfs_canon): Fix for the 'cd a:/somedir/..' problem
  1980. * vfs/vfs.c (vfs_add_non_current_stamps): when leaving a mtools fs
  1981. free the extfs buffers immediatly instead of waiting for the vfs-
  1982. timeout
  1983. Thu May 29 14:50:41 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
  1984. * vfs.c (vfs_canon): the "local:" case was consuming one extra
  1985. character. This fixes the bug reported by Andrej. Also, handle
  1986. the non-canonical case of arguments to local:
  1987. Tue May 27 20:38:28 1997 Miguel de Icaza <miguel@athena.nuclecu.unam.mx>
  1988. * mcserv.c (get_client): The parent now waits for the first forked
  1989. process, getting rid of the zombies.
  1990. * utilvfs.c (open_tcp_link): If we can not contact the remote
  1991. portmapper, set the protocol version to 1.
  1992. Fri May 16 16:42:18 1997 Tomasz K³oczko, <kloczek@rudy.mif.pg.gda.pl>
  1993. * mc.spec: New spec file, this packages mc, mcserv and tkmc.
  1994. * lib/mcserv.init, lib/mc.sh, lib/mcserv.pamd: added
  1995. * vfs/ext/rpm: instead using sed and rpm -qpi use rpm queries,
  1996. more info currently displayed (changeslogs, Os, URL, packager
  1997. Tue May 13 18:14:49 1997 Wojtek Pilorz <wpilorz@bdk.lublin.pl>
  1998. * vfs/Makefile.in (INSTALL_PROGRAM): Use -m flag for install to
  1999. force vfs scripts to be executable on those systems that use
  2000. install.sh
  2001. * src/utilunix.c: Implement socketpair for SCO flavored systems.
  2002. Mon Mar 17 12:03:50 1997 Norbert Warmuth <k3190@fh-sw.de>
  2003. * configure.in (--with-hsc): fix.
  2004. * vfs/ftpfs.c (ftpfs_get_proxy_host_and_port): Fixed wrong parameter
  2005. passing (HSC_DEFAULT_PORT was passed as pointer to char instead of
  2006. passing it as integer)
  2007. Tue Feb 25 20:21:00 1997 Joseph M. Hinkle <jhinkle@rockisland.com>
  2008. * extfs/lha: Updated the lha filesystem and included a command
  2009. for running an executable from within an lha archive suggested
  2010. by Zdenek Kabelac <kabi@informatics.muni.cz>
  2011. * extfs/: Renamed cpio, deb, rar, rpm as *.in files and altered
  2012. config.in to create these VFS's for cleaner compilation