Branch: Tag:

2000-08-27

2000-08-27 18:29:28 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

file_stat, File->stat et al now returns a Stat object
bumping revision to 7.1.6

Rev: lib/master.pike.in:1.126
Rev: lib/modules/Stdio.pmod/Terminfo.pmod:1.9
Rev: lib/modules/Stdio.pmod/module.pmod:1.83
Rev: src/modules/files/Makefile.in:1.12
Rev: src/modules/files/efuns.c:1.86
Rev: src/modules/files/file.c:1.196
Rev: src/modules/files/file.h:1.19
Rev: src/modules/files/file_functions.h:1.16
Rev: src/modules/files/stat.c:1.1
Rev: src/version.h:1.197

1: - // $Id: Terminfo.pmod,v 1.8 2000/03/30 21:21:10 grubba Exp $ + // $Id: Terminfo.pmod,v 1.9 2000/08/27 18:29:27 mirar Exp $         #if constant(thread_create)
650:    foreach (({"/usr/share/lib/terminfo", "/usr/share/termcap",    "/usr/lib/terminfo", "/usr/share/misc/terminfo"}), string dn)    { -  array(int) s = file_stat(dn); -  if (arrayp(s) && sizeof(s)>1 && s[1]==-2) +  .Stat s = file_stat(dn); +  if (s && s->type=="dir")    {    dirname = dn;    break;