ChangeLog 108 KB

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