Motion - Netcam Fix Pthread Init

Fix Initialisation of Pthread Structures

Description of Patch

The released Netcam code should do some of it's initialisation at an earlier point within the code. Without this fix, some systems may experience a software crash during the initialisation phase.

Installation of Patch

Download the patch file. If it is packed as a gz or tar.gz unpack it first. Then copy it to the motion source directory and issue the command (assuming the patch file is called filename_of_patch_file.diff)

patch < filename_of_patch_file.diff

Then re-build Motion and test the patch.

Change History of Patch

  • 1.0 Initial revision

Discussion and Comments


Which version is the patch made for? Latest daily or latest snap or latest official?

-- KennethLavrsen - 20 Oct 2005

The problem which the patch addresses has been present since the initial coding of the routine, although IIRC at least one of the conditionals was added at a somewhat later time. Since it was produced as a Unified Diff, I would expect the patch should work with all of the above. It was actually generated against the "Lavr Sources", which I guess would be "Latest daily ++"

-- BillBrack - 22 Oct 2005

The reason I ask is that your patch fails.

I had already integrated Angels patch.

But I worked it out. No problem.

Always remember to fill out the field "PatchForVersion" and always based it on something people can download. Ie. an official release, a snap or a daily. The daily equivalent for the sources you used is motion-20051018-051001.

Thanks for the patch.

It has been integrated and will be in the next daily motion-20051023-051001

-- KennethLavrsen - 22 Oct 2005
Topic revision: r6 - 20 Dec 2005, KennethLavrsen
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.