pike issueshttps://git.lysator.liu.se/pikelang/pike/-/issues2009-04-16T14:11:39Zhttps://git.lysator.liu.se/pikelang/pike/-/issues/3072The mv() function doesn't work accross filesystems2009-04-16T14:11:39ZPeter BortasThe mv() function doesn't work accross filesystemsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3072
Reported by Marek Habersack, The Caudium Group <grendel@caudium.net>
This is due to the fact that rename(2) uses hardlinks to rename the files
and they don't work ac...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3072
Reported by Marek Habersack, The Caudium Group <grendel@caudium.net>
This is due to the fact that rename(2) uses hardlinks to rename the files
and they don't work accross filesystems. The attached diff fixes it by
using a file copy followed by an unlink in the situation when the
destination is on a different filesystem than the source. The mv()
semantics aren't changed, simply augmented that way.Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/3534There are no safeguards if Regexp.Regexp runs out of stack2009-04-16T14:11:39ZPeter BortasThere are no safeguards if Regexp.Regexp runs out of stackImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3534
Reported by Martin Stjernholm <mast@roxen.com>
The following causes Regexp.Regexp to consume an arbitrary amount of stack.
The problem is that it's unchecked so that...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3534
Reported by Martin Stjernholm <mast@roxen.com>
The following causes Regexp.Regexp to consume an arbitrary amount of stack.
The problem is that it's unchecked so that pike segfaults.
```
> Regexp rx = Regexp( "(\"([^\"\\\\]|\\\\.)*\")" );
> rx->split("\""+"x"*0xe800+"\"");
Segmentation fault (core dumped)
```Pike 7.4Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/4851utime on a directory fails2015-03-27T17:43:33ZPeter Bortasutime on a directory failsImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4851
Reported by Tor Edvardsson <tor@roxen.com>
On Windows, utime on a directory gives the following
```
Pike v7.8 release 286 running Hilfe v3.5 (Incremental Pike Fron...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4851
Reported by Tor Edvardsson <tor@roxen.com>
On Windows, utime on a directory gives the following
```
Pike v7.8 release 286 running Hilfe v3.5 (Incremental Pike Frontend)
> object o = file_stat("test");
> utime("test", o->atime, o->mtime);
Compiler Warning: 1: Returning a void expression. Converted to zero.
utime(): Failed: Access denied
HilfeInput:1: HilfeInput()->___HilfeWrapper()
```
on a normal file this works
```
Pike v7.8 release 286 running Hilfe v3.5 (Incremental Pike Frontend)
> object o = file_stat("test.txt");
> utime("test.txt", o->atime, o->mtime);
Compiler Warning: 1: Returning a void expression. Converted to zero.
(1) Result: 0
```Pike 7.8Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/1167XCF decoder cannot decode "multiply" layers correctly2020-02-29T17:53:47ZPeter BortasXCF decoder cannot decode "multiply" layers correctlyImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1167
Reported by @zino
The XCF decoder cannot decode "multiply" layers correctly. Attaching exmple
xcf and screenshots from Gimp and PV.Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1167
Reported by @zino
The XCF decoder cannot decode "multiply" layers correctly. Attaching exmple
xcf and screenshots from Gimp and PV.Pike 7.2